From d34a5ba84714f3c8837c1dd4a63649bc3fb6d512 Mon Sep 17 00:00:00 2001 From: Vitaliy Olkhin Date: Sun, 13 Oct 2024 16:11:54 +0500 Subject: [PATCH] fixed some issues with sunbeds --- sdraia.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sdraia.lua b/sdraia.lua index 7ff0e2a..b0beac8 100644 --- a/sdraia.lua +++ b/sdraia.lua @@ -120,7 +120,6 @@ for i in ipairs(sdraia_list) do end end - minetest.chat_send_player( pname, 'Состояние ' .. new_animation); if( default.player_attached[pname] and animation.animation=="sit") then -- just changing the animation... if( allow_sleep==true ) then @@ -146,7 +145,7 @@ for i in ipairs(sdraia_list) do default.player_set_animation(clicker, new_animation, 30) clicker:set_physics_override() default.player_attached[pname] = true - + return; end