fix issues with proximity beeper (#32322)

implement
This commit is contained in:
Ilya246 2024-09-20 15:37:06 +04:00 • committed by GitHub
parent 99101f2e2c
commit 00002fa07f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -37,6 +37,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

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