]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix some misc anomaly locator bugs (#16488)
authorNemanja <98561806+EmoGarbage404@users.noreply.github.com>
Tue, 16 May 2023 00:19:39 +0000 (20:19 -0400)
committerGitHub <noreply@github.com>
Tue, 16 May 2023 00:19:39 +0000 (10:19 +1000)
Content.Server/Pinpointer/ProximityBeeperSystem.cs

index 0751ab50bf059764724ff5cee3bcf1f932a15b4f..7e2c8b8e8866f11b58dffe48d8c4e836d0be69ad 100644 (file)
@@ -56,7 +56,7 @@ public sealed class ProximityBeeperSystem : EntitySystem
 
         if (!component.Enabled)
         {
-            component.NextBeepTime += component.MinBeepInterval;
+            component.NextBeepTime += component.MaxBeepInterval;
             return;
         }
 
@@ -124,7 +124,7 @@ public sealed class ProximityBeeperSystem : EntitySystem
 
         component.Enabled = false;
         _appearance.SetData(uid, ProximityBeeperVisuals.Enabled, false);
-        _powerCell.SetPowerCellDrawEnabled(uid, true);
+        _powerCell.SetPowerCellDrawEnabled(uid, false);
         UpdateBeep(uid, component);
         return true;
     }