Skip to content

Commit

Permalink
Entity.active must be set to false (not nil) in order for it to not u…
Browse files Browse the repository at this point in the history
…pdate.
  • Loading branch information
Michael Ebens committed Dec 23, 2015
1 parent 7eb8941 commit df34685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion World.lua
Expand Up @@ -51,7 +51,7 @@ end
function World:update(dt)
-- update
for v in self._updates:iterate() do
if v.active then
if v.active ~= false then
v:update(dt)
end
end
Expand Down

0 comments on commit df34685

Please sign in to comment.