Making possible to QueueDeleteEntity on EndCollideEvent
Required by https://github.com/space-wizards/space-station-14/pull/22962
If contact that raises EndCollideEvent causes its own entity to be queued for deletion, it cannot be properly processed by OnContactEntityQueueDel because the contact already has the flag "Deleting", which causes assertion error.
Just use QueueDelete?
Would be better to be an assert because you shouldn't ever be deleting entities during eventbus callbacks.
Just use QueueDelete?
You're right, it should've been using it and already did. As I figured out now, assert error was caused by EntityManager.EntityQueueDeleted action. Updated PR comment to properly explain it
Just use QueueDelete?
Morgot — 02/01/2024 3:54 AM hmm, valid point gravy — 02/01/2024 3:54 AM honestly submitting an engine PR? best way to get one of the engine people to answer your question