Fix some misc anomaly locator bugs (#16488)

This commit is contained in:
Nemanja
2023-05-15 20:19:39 -04:00
committed by GitHub
parent 453b29f980
commit 0708604dfe

View 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;
}