From c60910dfa68bbed56a4cad4b0739b532f8930006 Mon Sep 17 00:00:00 2001 From: Tayrtahn Date: Mon, 14 Jul 2025 03:49:27 -0400 Subject: [PATCH] Fix devices in terminal mispredicting power state (#38647) * The simple solution * The better solution * Revert "The better solution" This reverts commit 611e56e031636734abab1ad3e77bf88b69a4de13. --- Content.Client/Power/EntitySystems/StaticPowerSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }