From: Ed <96445749+TheShuEd@users.noreply.github.com> Date: Thu, 18 Jul 2024 19:29:20 +0000 (+0300) Subject: LatheSystem independently of energy (#30148) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=437fc936a2faacd409c56b164fd4cb1974d2f454;p=space-station-14.git LatheSystem independently of energy (#30148) * Update LatheSystem.cs * Emo --- diff --git a/Content.Server/Power/EntitySystems/StaticPowerSystem.cs b/Content.Server/Power/EntitySystems/StaticPowerSystem.cs index 9e11d9311a..61a23e501d 100644 --- a/Content.Server/Power/EntitySystems/StaticPowerSystem.cs +++ b/Content.Server/Power/EntitySystems/StaticPowerSystem.cs @@ -9,7 +9,7 @@ public static class StaticPowerSystem public static bool IsPowered(this EntitySystem system, EntityUid uid, IEntityManager entManager, ApcPowerReceiverComponent? receiver = null) { if (receiver == null && !entManager.TryGetComponent(uid, out receiver)) - return false; + return true; return receiver.Powered; }