entity-component-system icon indicating copy to clipboard operation
entity-component-system copied to clipboard

queue removal of components until the end of a system

Open AlexBezuska opened this issue 8 years ago • 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.

AlexBezuska avatar Mar 29 '16 00:03 AlexBezuska