aboutsummaryrefslogtreecommitdiff
path: root/lua/pets/pet.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/pets/pet.lua')
-rw-r--r--lua/pets/pet.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/pets/pet.lua b/lua/pets/pet.lua
index 99f0053..2cc6cfc 100644
--- a/lua/pets/pet.lua
+++ b/lua/pets/pet.lua
@@ -68,8 +68,8 @@ function M.Pet:set_hidden(hidden)
})
end
-function M.Pet:set_sleep(sleeping)
- self.animation:set_state({ sleeping = sleeping })
+function M.Pet:set_idle(idle)
+ self.animation:set_state({ idle = idle })
end
return M