From 445088e34db07dc1edebff3d28aad458501f10d4 Mon Sep 17 00:00:00 2001 From: Lars L Date: Mon, 1 Jun 2020 18:34:33 +0200 Subject: [PATCH] fixed the fix for the bomb :D --- source/objects/bomb.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/objects/bomb.lua b/source/objects/bomb.lua index 430a9dc..8c044d0 100644 --- a/source/objects/bomb.lua +++ b/source/objects/bomb.lua @@ -15,7 +15,7 @@ function Bomb:init(level, dx, dy, parent) self.bounciness = .6 local bx = parent.pos.x+parent.dim.w/2-self.dim.w/2-.5 local by = parent.pos.y+parent.dim.h/2-self.dim.h/2-2 - Actor.init(self, level, bx, by, {collide=true, canDie=true}) + Actor.init(self, level, bx, by, {collide=true}) local dx = dx-parent.pos.x+parent.dim.w/2 local dy = dy-parent.pos.y+parent.dim.h/2 local angle = math.sqrt(dx*dx+dy*dy)