mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 12:24:11 -04:00
Components get removed properly now
This commit is contained in:
parent
d72bc18b0c
commit
a50e3caf8b
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ function Entity:apply()
|
|||
self.instances:get(i):checkEntity(self)
|
||||
end
|
||||
|
||||
for _, component in pairs(self.removed) do
|
||||
for component, _ in pairs(self.removed) do
|
||||
self.components[component] = nil
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue