world:remove(...)
should not return anything
#93
Labels
improvement
An imperfection we can make better
world:remove(...)
should not return anything
#93
Current behavior
Calling
world:remove(entityId, A)
will try to return the instance of A that was removed.Proposed improvement
The introduction of command buffering means that
world:remove()
is no longer guaranteed to return exactly what was removed. It is possible that there is a command in the buffer that alters the data.Because of this, I believe that
world:remove()
should not return anything.Additional context
I'm not sure how many people make use of this functionality but it should be considered deprecated for now.
The text was updated successfully, but these errors were encountered: