From: Ilya246 <57039557+Ilya246@users.noreply.github.com> Date: Fri, 20 Sep 2024 11:37:06 +0000 (+0400) Subject: fix issues with proximity beeper (#32322) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=00002fa07fb3a427e3cd54451846517bbbe54580;p=space-station-14.git fix issues with proximity beeper (#32322) implement --- diff --git a/Content.Shared/Beeper/Systems/ProximityBeeperSystem.cs b/Content.Shared/Beeper/Systems/ProximityBeeperSystem.cs index 9830e165e5..bee75e948d 100644 --- a/Content.Shared/Beeper/Systems/ProximityBeeperSystem.cs +++ b/Content.Shared/Beeper/Systems/ProximityBeeperSystem.cs @@ -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); } } diff --git a/Resources/Prototypes/Entities/Objects/Specific/Research/anomaly.yml b/Resources/Prototypes/Entities/Objects/Specific/Research/anomaly.yml index ff53218e22..516bd0f6bd 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Research/anomaly.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Research/anomaly.yml @@ -52,6 +52,7 @@ components: - Anomaly - type: Beeper + isMuted: true minBeepInterval: 0.15 maxBeepInterval: 1.00 beepSound: