Don't allow toggling internals while asleep (#29753)

This commit is contained in:
themias
2024-07-05 23:55:58 -04:00
committed by GitHub
parent 12edad89e8
commit 7b99d1f851

View File

@@ -100,7 +100,7 @@ public sealed class InternalsSystem : EntitySystem
// Toggle off if they're on // Toggle off if they're on
if (AreInternalsWorking(internals)) if (AreInternalsWorking(internals))
{ {
if (force || user == uid) if (force)
{ {
DisconnectTank(internals); DisconnectTank(internals);
return; return;