modules/world: correctly set actor list

This commit is contained in:
Kazhnuz 2019-04-07 13:43:24 +02:00
parent 1d877a2eb1
commit 3bd7203e59

View file

@ -5,7 +5,7 @@ local BaseWorld = Object:extend()
function BaseWorld:new(scene, actorlist) function BaseWorld:new(scene, actorlist)
self.scene = scene self.scene = scene
self.setActorList(actorlist) self:setActorList(actorlist)
self.actors = {} self.actors = {}
end end