Preserve explosion error stack trace (#10379)

This commit is contained in:
Leon Friedrich
2022-08-07 16:01:21 +12:00
committed by GitHub
parent 77f336efe4
commit 6b94db0336

View File

@@ -133,7 +133,9 @@ public sealed partial class ExplosionSystem : EntitySystem
{ {
// Ensure the system does not get stuck in an error-loop. // Ensure the system does not get stuck in an error-loop.
_activeExplosion = null; _activeExplosion = null;
throw e; RaiseNetworkEvent(new ExplosionOverlayUpdateEvent(_explosionCounter, int.MaxValue));
_nodeGroupSystem.Snoozing = false;
throw;
} }
#endif #endif
} }