summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-13 03:11:58 +0200
committerAki <nthirtyone@gmail.com>2017-09-13 03:11:58 +0200
commit534f8f925a5fe389fec15d147b495c416b5b7e77 (patch)
tree8c1fb193bcafa5b5eca3724fc2a6ee4dd51e866c /not
parent5edb3063d1b1465a6b14c5731450c85b825f0f14 (diff)
downloadroflnauts-534f8f925a5fe389fec15d147b495c416b5b7e77.zip
roflnauts-534f8f925a5fe389fec15d147b495c416b5b7e77.tar.gz
roflnauts-534f8f925a5fe389fec15d147b495c416b5b7e77.tar.bz2
Background layers now use ratio from map config
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 c18a54a..2a7437f 100644
--- a/not/World.lua
+++ b/not/World.lua
@@ -95,7 +95,7 @@ function World:buildMap ()
if op.animations then
bg:setAnimationsList(op.animations)
end
- bg.layer = self:addLayer(width, height, 0)
+ bg.layer = self:addLayer(width, height, op.ratio)
end
end
end