From 1b84ee05ae400cd0f74203a9e8c0bfb7e3895d28 Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto Date: Mon, 18 Oct 2021 13:14:37 +0200 Subject: [PATCH] Don't update solar panels while the map is paused Fixes integration tests. --- Content.Server/Solar/EntitySystems/PowerSolarSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Solar/EntitySystems/PowerSolarSystem.cs b/Content.Server/Solar/EntitySystems/PowerSolarSystem.cs index 62a1b3324a..5c36c8aedf 100644 --- a/Content.Server/Solar/EntitySystems/PowerSolarSystem.cs +++ b/Content.Server/Solar/EntitySystems/PowerSolarSystem.cs @@ -86,7 +86,7 @@ namespace Content.Server.Solar.EntitySystems TotalPanelPower = 0; - foreach (var panel in EntityManager.EntityQuery(true)) + foreach (var panel in EntityManager.EntityQuery(false)) { // There's supposed to be rotational logic here, but that implies putting it somewhere. panel.Owner.Transform.WorldRotation = TargetPanelRotation;