ericlathrop/entity-component-system

queue removal of components until the end of a system

Opened this issue · 0 comments

Don't remove components immediately when .remove() is called, because this breaks for loops that are iterating over searches. Instead wait until the system has finished before performing the removal.