From 0f327d1de2bfc7bc56ebdc2b3fb5e393e5bed3b6 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 18 Jul 2021 14:03:58 +0200 Subject: [PATCH] fix: initialize z value for the ennemy --- sonic-radiance.love/scenes/battlesystem/actors/ennemy.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/sonic-radiance.love/scenes/battlesystem/actors/ennemy.lua b/sonic-radiance.love/scenes/battlesystem/actors/ennemy.lua index f1a7fca..232c555 100644 --- a/sonic-radiance.love/scenes/battlesystem/actors/ennemy.lua +++ b/sonic-radiance.love/scenes/battlesystem/actors/ennemy.lua @@ -11,6 +11,7 @@ function Ennemy:new(world, x, y, owner) self:initSprite() if (self.owner:haveProtecType("aerial")) then self.z = 10 + self.start.z = 10 end self.sprHeight = self.owner.abstract.data.hudHeight + 14 end