summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
Diffstat (limited to 'not')
-rw-r--r--not/World.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/World.lua b/not/World.lua
index e0b64c5..5392e18 100644
--- a/not/World.lua
+++ b/not/World.lua
@@ -94,7 +94,7 @@ function World:buildMap ()
local bg = self:createDecoration(x, y, op.background)
if op.animations then
bg:setAnimationsList(op.animations)
- _,_,width,height = bg:getAnimations()[1]:getViewport()
+ _,_,width,height = bg:getAnimation()[1]:getViewport()
width = width * getScale()
height = height * getScale()
end