Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinary1 committed Oct 19, 2024
1 parent 3e29c66 commit bad0b43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Content.Shared/Mech/Components/MechComponent.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Content.Shared.FixedPoint;
using Content.Shared.Whitelist;
using Robust.Shared.Audio;
using Robust.Shared.Containers;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/Mech/EntitySystems/SharedMechSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public void ToggleLights(EntityUid uid, MechComponent component)
component.Lights = !component.Lights;
_pointLight.SetEnabled(uid, component.Lights, pointLightComponent);
_actions.SetToggled(component.MechLightsActionEntity, component.Lights);
_audioSystem.PlayPredicted(component.ToggleLightSound, component.PilotSlot.ContainedEntity.Value, component);
_audioSystem.PlayPredicted(component.ToggleLightSound, component.Owner, component.PilotSlot.ContainedEntity);
Dirty(uid ,component);
}
}
Expand Down

0 comments on commit bad0b43

Please sign in to comment.