waynemwashuma / chaos-engine

2d game engine
https://waynemwashuma.github.io/chaos-engine/
MIT License
3 stars 0 forks source link

`Manager.remove()` throws an error when called. #35

Closed waynemwashuma closed 4 months ago

waynemwashuma commented 7 months ago

Cannot read properties of undefined (reading 'length') at Module.removeElement (http://localhost:7700/src/utils/common.js:52:11) at Archetype.remove (http://localhost:7700/src/dataStructures/naivearchtypetable.js:36:13) at NaiveArchTypeTable.remove (http://localhost:7700/src/dataStructures/naivearchtypetable.js:176:23) at Manager.remove (http://localhost:7700/src/ecs/manager.js:136:17) at http://localhost:7700/demos/box.js:25:26