From 4abda4f7cfb160d9a257655041806861e39df85d Mon Sep 17 00:00:00 2001 From: Kara D Date: Sat, 6 Nov 2021 15:18:27 -0700 Subject: [PATCH] Fix mobs taking damage on paused maps --- Content.Server/Atmos/EntitySystems/BarotraumaSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Atmos/EntitySystems/BarotraumaSystem.cs b/Content.Server/Atmos/EntitySystems/BarotraumaSystem.cs index 7f74c79121..6380f5860f 100644 --- a/Content.Server/Atmos/EntitySystems/BarotraumaSystem.cs +++ b/Content.Server/Atmos/EntitySystems/BarotraumaSystem.cs @@ -70,7 +70,7 @@ namespace Content.Server.Atmos.EntitySystems _timer -= UpdateTimer; - foreach (var (barotrauma, damageable, transform) in EntityManager.EntityQuery()) + foreach (var (barotrauma, damageable, transform) in EntityManager.EntityQuery(false)) { var totalDamage = FixedPoint2.Zero; foreach (var (barotraumaDamageType, _) in barotrauma.Damage.DamageDict)