Update GameTicker.RoundFlow.cs (#14387)

* Update GameTicker.RoundFlow.cs

* wtf
This commit is contained in:
Moony
2023-03-04 18:31:25 -06:00
committed by GitHub
parent 028fa395d8
commit b872255e82

View File

@@ -424,7 +424,8 @@ namespace Content.Server.GameTicking
#endif
// TODO: Maybe something less naive here?
// FIXME: Actually, definitely.
EntityManager.DeleteEntity(entity);
if (!Deleted(entity) && !Terminating(entity))
EntityManager.DeleteEntity(entity);
#if EXCEPTION_TOLERANCE
}
catch (Exception e)