mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-12-06 21:24:55 -05:00
After an entity has a component removed from it, the apply function wasn't removing it from the removed list.
This had weird side-effects like the inability to readd components after they were removed.
For example:
entity:give(Foo):apply()
entity:remove(Foo):apply()
entity:give(Foo):apply() -- This line would fail to add the Foo component again.
|
||
|---|---|---|
| .. | ||
| component.lua | ||
| entity.lua | ||
| init.lua | ||
| instance.lua | ||
| list.lua | ||
| pool.lua | ||
| system.lua | ||