From 6b94db0336a6ccca4145c4c9d81224e8a773892b Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Sun, 7 Aug 2022 16:01:21 +1200 Subject: [PATCH] Preserve explosion error stack trace (#10379) --- .../Explosion/EntitySystems/ExplosionSystem.Processing.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Content.Server/Explosion/EntitySystems/ExplosionSystem.Processing.cs b/Content.Server/Explosion/EntitySystems/ExplosionSystem.Processing.cs index 59aec97094..ef0612ec5e 100644 --- a/Content.Server/Explosion/EntitySystems/ExplosionSystem.Processing.cs +++ b/Content.Server/Explosion/EntitySystems/ExplosionSystem.Processing.cs @@ -133,7 +133,9 @@ public sealed partial class ExplosionSystem : EntitySystem { // Ensure the system does not get stuck in an error-loop. _activeExplosion = null; - throw e; + RaiseNetworkEvent(new ExplosionOverlayUpdateEvent(_explosionCounter, int.MaxValue)); + _nodeGroupSystem.Snoozing = false; + throw; } #endif }