Preserve explosion error stack trace (#10379)

This commit is contained in:
Leon Friedrich
2022-08-07 14:01:21 +10:00
committed by GitHub
parent 77f336efe4
commit 6b94db0336
@@ -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
}