fix issues with proximity beeper (#3975)

cherry picked from commit 00002fa07fb3a427e3cd54451846517bbbe54580

Co-authored-by: Ilya246 <57039557+Ilya246@users.noreply.github.com>
This commit is contained in:
Tobias Berger 2025-06-17 18:11:09 +02:00 committed by GitHub
parent c12f7333e7
commit 1616e6ea49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,6 @@ public sealed class ProximityBeeperSystem : EntitySystem
private void OnNewProximityTarget(EntityUid owner, ProximityBeeperComponent proxBeeper, ref NewProximityTargetEvent args)
{
_beeper.SetMute(owner, args.Target != null);
_beeper.SetMute(owner, args.Target == null);
}
}

View File

@ -51,6 +51,7 @@
components:
- type: Anomaly
- type: Beeper
isMuted: true
minBeepInterval: 0.15
maxBeepInterval: 1.00
beepSound: