From 80d874f4de48598f813752486525c496f771f658 Mon Sep 17 00:00:00 2001 From: rick Date: Sun, 6 Dec 2020 20:47:45 +0100 Subject: [PATCH] Patch bug plus de vie dans les flammes --- objects/oFire/Collision_oPlayer.gml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/objects/oFire/Collision_oPlayer.gml b/objects/oFire/Collision_oPlayer.gml index f3e4af4..494b9b4 100644 --- a/objects/oFire/Collision_oPlayer.gml +++ b/objects/oFire/Collision_oPlayer.gml @@ -1 +1,4 @@ -hit(self, other); \ No newline at end of file +if (other.inv == 0) { + hit(self, other); + other.inv = 30; +} \ No newline at end of file