From 67aef69c75a4e797b4fb4848722e6e749d3fbe89 Mon Sep 17 00:00:00 2001 From: Giuseppe Gadola Date: Fri, 17 Feb 2023 12:27:24 +0100 Subject: fix(toggles): fix pause after hide Fixed the pets not pausing after being hidden and unhidden. Also fixed an hologram error found in the process --- lua/pets.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/pets.lua') diff --git a/lua/pets.lua b/lua/pets.lua index 282a147..cf76f0f 100644 --- a/lua/pets.lua +++ b/lua/pets.lua @@ -108,6 +108,8 @@ function M.toggle_hide() hidden = not hidden if hidden then -- Hiding relies on the pets being paused as well paused = true + else + paused = false end for _, pet in pairs(M.pets) do pet:set_hidden(hidden) -- cgit v1.3-2-g11bf