Merge pull request #5 from josh-perry/fix_removed_list_not_clearing

Fixed removed list not being cleared
This commit is contained in:
Justin van der Leij 2018-03-13 18:58:21 +01:00 committed by GitHub
commit 358a455c8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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