Set IdSystem as a non processing system (should only need to run on add and remove, not every frame)

This commit is contained in:
Collin Smith
2019-11-02 14:03:15 -07:00
parent 58df4878a2
commit a7d120e8a8

View File

@ -18,6 +18,7 @@ public class IdSystem extends EntitySystem implements EntityListener {
public IdSystem() {
super(SystemPriority.IdSystem);
setProcessing(false);
}
public Entity getEntity(int id) {