mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 12:24:11 -04:00
Make e:flush 'private'
This commit is contained in:
parent
ecb3c2db7e
commit
89443bd961
2 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ function Entity:assemble(assemblage, ...)
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|
||||||
function Entity:flush()
|
function Entity:__flush()
|
||||||
local addi, removei = 1, 1
|
local addi, removei = 1, 1
|
||||||
|
|
||||||
for i = 1, #self.__operations do
|
for i = 1, #self.__operations do
|
||||||
|
|
|
@ -76,7 +76,7 @@ function World:flush()
|
||||||
e = self.entities:get(i)
|
e = self.entities:get(i)
|
||||||
|
|
||||||
if e.__isDirty then
|
if e.__isDirty then
|
||||||
e:flush()
|
e:__flush()
|
||||||
|
|
||||||
if (not e.__wasAdded) then -- The __wasAdded check below will handle this instead
|
if (not e.__wasAdded) then -- The __wasAdded check below will handle this instead
|
||||||
for j = 1, self.systems.size do
|
for j = 1, self.systems.size do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue