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:
parent
c12f7333e7
commit
1616e6ea49
|
|
@ -31,6 +31,6 @@ public sealed class ProximityBeeperSystem : EntitySystem
|
||||||
|
|
||||||
private void OnNewProximityTarget(EntityUid owner, ProximityBeeperComponent proxBeeper, ref NewProximityTargetEvent args)
|
private void OnNewProximityTarget(EntityUid owner, ProximityBeeperComponent proxBeeper, ref NewProximityTargetEvent args)
|
||||||
{
|
{
|
||||||
_beeper.SetMute(owner, args.Target != null);
|
_beeper.SetMute(owner, args.Target == null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,7 @@
|
||||||
components:
|
components:
|
||||||
- type: Anomaly
|
- type: Anomaly
|
||||||
- type: Beeper
|
- type: Beeper
|
||||||
|
isMuted: true
|
||||||
minBeepInterval: 0.15
|
minBeepInterval: 0.15
|
||||||
maxBeepInterval: 1.00
|
maxBeepInterval: 1.00
|
||||||
beepSound:
|
beepSound:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue