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