diff options
Diffstat (limited to 'lua/pets/pet.lua')
| -rw-r--r-- | lua/pets/pet.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/pets/pet.lua b/lua/pets/pet.lua index 2cc6cfc..6540b1d 100644 --- a/lua/pets/pet.lua +++ b/lua/pets/pet.lua @@ -55,6 +55,11 @@ function M.Pet:kill() end end +function M.Pet:remove() + self.animation:stop() + self.popup:unmount() +end + function M.Pet:set_paused(paused) self.animation:set_state({ paused = paused, |