From 0394ab7382de53cb6b6a490d4d08c3a6be054279 Mon Sep 17 00:00:00 2001 From: Pontus Persson Date: Mon, 25 Sep 2017 20:57:54 +0200 Subject: [PATCH] Enable background layer. --- public/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/main.js b/public/js/main.js index 4a0067fc..19711ed0 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -49,7 +49,7 @@ Promise.all([ const comp = new Compositor(); const backgroundLayer = createBackgroundLayer(level.backgrounds, backgroundSprites); - //comp.layers.push(backgroundLayer); + comp.layers.push(backgroundLayer); mario.pos.x = 64; mario.pos.y = 180;