summaryrefslogtreecommitdiffhomepage
path: root/not/World.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-13 07:49:42 +0200
committerAki <nthirtyone@gmail.com>2017-09-13 07:49:42 +0200
commit914049749fc9f6f86b9ba22d5b74a173a2c8a3bc (patch)
tree45032b168b1a5e8b74593ecaf7db413b2d96078a /not/World.lua
parent02864ba303beda496c85e4f0503b3f94d32fd30d (diff)
downloadroflnauts-914049749fc9f6f86b9ba22d5b74a173a2c8a3bc.zip
roflnauts-914049749fc9f6f86b9ba22d5b74a173a2c8a3bc.tar.gz
roflnauts-914049749fc9f6f86b9ba22d5b74a173a2c8a3bc.tar.bz2
Fixed typo
Diffstat (limited to 'not/World.lua')
-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