summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
Diffstat (limited to 'not')
-rw-r--r--not/World.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/not/World.lua b/not/World.lua
index d7b69b2..d3f126f 100644
--- a/not/World.lua
+++ b/not/World.lua
@@ -78,6 +78,9 @@ function World:buildMap ()
local x = image:getWidth() / -2
local y = image:getHeight() / -2
local bg = self:createDecoration(x, y, op.background) -- TODO: Decoration does not allow Image instead of filePath!
+ if op.animations then
+ bg:setAnimationsList(op.animations)
+ end
bg.layer = self.layers[1]
end
end