From 2e976a3948a2929d403ed7f5f04bf9b022b30df7 Mon Sep 17 00:00:00 2001 From: Andros Date: Thu, 17 May 2018 00:04:45 +0200 Subject: [PATCH] Fix position explosion --- main.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.lua b/main.lua index f0fbca5..ed82916 100644 --- a/main.lua +++ b/main.lua @@ -96,9 +96,7 @@ function love.update(dt) sounds.die:play() explosion.animate = true explosion.x = spaceship.x - explosion.y = spaceship.y[spaceship.pos_frame] - print(explosion.x) - print(explosion.y) + explosion.y = spaceship.y[spaceship.pos] end end end