From 914049749fc9f6f86b9ba22d5b74a173a2c8a3bc Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 13 Sep 2017 07:49:42 +0200 Subject: Fixed typo --- not/World.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1