mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 12:24:11 -04:00
Merge pull request #5 from josh-perry/fix_removed_list_not_clearing
Fixed removed list not being cleared
This commit is contained in:
commit
358a455c8b
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ function Entity:apply()
|
||||||
|
|
||||||
for component, _ in pairs(self.removed) do
|
for component, _ in pairs(self.removed) do
|
||||||
self.components[component] = nil
|
self.components[component] = nil
|
||||||
|
self.removed[component] = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue