Hi everybody,
Today we had an interesting bug when trying to make a total reset for the game prototype we are working on then we find out that if we do not force removeAll() for the signals they remain there even after doing:
engine.removeAllEntities();
engine.removeAllSystems();
so we added;
nodeList.nodeAdded.removeAll();
nodeList.nodeRemoved.removeAll();
to the overridden removeFromEngine function in system.
Is this an expected behaviour and/or is there any other way to clean all signals for all nodes?
Thank you in advance
Bulent