Skip to content

Commit

Permalink
fix issues with proximity beeper (#32322)
Browse files Browse the repository at this point in the history
implement
  • Loading branch information
Ilya246 authored Sep 20, 2024
1 parent 99101f2 commit 00002fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/Beeper/Systems/ProximityBeeperSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ private void OnProximityTargetUpdate(EntityUid owner, ProximityBeeperComponent p

private void OnNewProximityTarget(EntityUid owner, ProximityBeeperComponent proxBeeper, ref NewProximityTargetEvent args)
{
_beeper.SetMute(owner, args.Target != null);
_beeper.SetMute(owner, args.Target == null);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
components:
- Anomaly
- type: Beeper
isMuted: true
minBeepInterval: 0.15
maxBeepInterval: 1.00
beepSound:
Expand Down

0 comments on commit 00002fa

Please sign in to comment.