diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-13 07:49:42 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-13 07:49:42 +0200 |
commit | 914049749fc9f6f86b9ba22d5b74a173a2c8a3bc (patch) | |
tree | 45032b168b1a5e8b74593ecaf7db413b2d96078a /not/World.lua | |
parent | 02864ba303beda496c85e4f0503b3f94d32fd30d (diff) | |
download | roflnauts-914049749fc9f6f86b9ba22d5b74a173a2c8a3bc.zip roflnauts-914049749fc9f6f86b9ba22d5b74a173a2c8a3bc.tar.gz roflnauts-914049749fc9f6f86b9ba22d5b74a173a2c8a3bc.tar.bz2 |
Fixed typo
Diffstat (limited to 'not/World.lua')
-rw-r--r-- | not/World.lua | 2 |
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 |