diff options
| author | Giuseppe Gadola <giusgadola@gmail.com> | 2023-03-01 14:22:38 +0100 |
|---|---|---|
| committer | Giuseppe Gadola <giusgadola@gmail.com> | 2023-03-01 15:08:51 +0100 |
| commit | add39bd3057f1dfa3ad3c5cd5215aba3b1cf182d (patch) | |
| tree | 0951cfca91648db6211e9149ceaa43667e94b41d /lua/pets/pet.lua | |
| parent | docs(help): auto generate docs (diff) | |
feat(pets): added dog
Diffstat (limited to 'lua/pets/pet.lua')
| -rw-r--r-- | lua/pets/pet.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/pets/pet.lua b/lua/pets/pet.lua index f767ed0..99f0053 100644 --- a/lua/pets/pet.lua +++ b/lua/pets/pet.lua @@ -47,7 +47,7 @@ function M.Pet:kill() self.animation:stop() self.popup:unmount() end - if self.death_animation then + if self.death_animation and self.animation.frames["die"] ~= nil then self.animation.dying = true else self.animation:stop() |