Likely flaw in the entity kill flow #14
Labels
server-side
This issue applies the server side.
tech debt
Code improvements not including features or perf
Milestone
I haven't found a way to produce an issue related to this flaw, but it follows from the analysis.
When an entity is killed, it should not be properly deleted until the end of the game update. This is to prevent the entities collection from being changed during iteration.
However, the game logic isn't aware that an entity has died or been disabled in some way. This can lead to a situation where the killed entity affects the game state after its death:
This should not be possible given a correct flow.
The text was updated successfully, but these errors were encountered: