mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 12:24:11 -04:00
Fix World:clear
This commit is contained in:
parent
e5d6e1f4b9
commit
fea5fc7223
2 changed files with 1 additions and 4 deletions
|
@ -272,7 +272,7 @@ end
|
|||
-- @return self
|
||||
function World:clear()
|
||||
for i = 1, self.entities.size do
|
||||
self.removeEntity(self.entities[i])
|
||||
self:removeEntity(self.entities[i])
|
||||
end
|
||||
|
||||
return self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue