From 9ce6ae9d28c0cfe200f70e26e99c4d9abf8c250a Mon Sep 17 00:00:00 2001 From: Giuseppe Gadola Date: Mon, 13 Feb 2023 19:56:54 +0100 Subject: feat(pets): pets now play a death animation when killed --- lua/pets/pet.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lua/pets/pet.lua') diff --git a/lua/pets/pet.lua b/lua/pets/pet.lua index 175e51d..a132a1e 100644 --- a/lua/pets/pet.lua +++ b/lua/pets/pet.lua @@ -47,8 +47,7 @@ end -- delete the pet :( function M.Pet:kill() - self.popup:unmount() - self.animation:stop() + self.animation.dying = true end return M -- cgit v1.3-2-g11bf