From: Tayrtahn Date: Mon, 14 Jul 2025 07:49:27 +0000 (-0400) Subject: Fix devices in terminal mispredicting power state (#38647) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=c60910dfa68bbed56a4cad4b0739b532f8930006;p=space-station-14.git Fix devices in terminal mispredicting power state (#38647) * The simple solution * The better solution * Revert "The better solution" This reverts commit 611e56e031636734abab1ad3e77bf88b69a4de13. --- diff --git a/Content.Client/Power/EntitySystems/StaticPowerSystem.cs b/Content.Client/Power/EntitySystems/StaticPowerSystem.cs index 2ca945cbbd..f803b92067 100644 --- a/Content.Client/Power/EntitySystems/StaticPowerSystem.cs +++ b/Content.Client/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; }