Skip to content

Commit

Permalink
fix group layers not updating
Browse files Browse the repository at this point in the history
  • Loading branch information
tesselode committed Apr 17, 2019
1 parent 176309e commit d2c5624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cartographer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ function Layer.group:_init(map)
setmetatable(self.layers, LayerList)
end

function Layer.group:_update(dt)
function Layer.group:update(dt)
for _, layer in ipairs(self.layers) do
if layer.update then layer:update(dt) end
end
Expand Down

0 comments on commit d2c5624

Please sign in to comment.