From 524753e5b775a623aff3aaa396544bd2671293d2 Mon Sep 17 00:00:00 2001 From: MrEidam Date: Tue, 17 Sep 2024 15:59:02 +0200 Subject: [PATCH] Fixed PetPet#001 - when hp 0 boy not dead --- main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.js b/main.js index 0d53d23..5b4e5c9 100644 --- a/main.js +++ b/main.js @@ -186,6 +186,8 @@ function display(){ Aimg.src = getDeadImage(); } + if(attributes.Hp.value