diff options
Diffstat (limited to 'not/World.lua')
-rw-r--r-- | not/World.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/not/World.lua b/not/World.lua index a4d0f97..e0b64c5 100644 --- a/not/World.lua +++ b/not/World.lua @@ -95,6 +95,8 @@ function World:buildMap () if op.animations then bg:setAnimationsList(op.animations) _,_,width,height = bg:getAnimations()[1]:getViewport() + width = width * getScale() + height = height * getScale() end bg.layer = self:addLayer(width, height, op.ratio) end |