fixed some issues with sunbeds
This commit is contained in:
parent
a656298d7c
commit
d34a5ba847
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user