changed sit command

master
Alexsandro Percy 2022-06-20 21:08:59 -03:00
parent 21486ce8df
commit e7dea47185
1 changed files with 4 additions and 2 deletions

View File

@ -40,7 +40,8 @@ function trike.attach(self, player)
minetest.after(1, function()
player = minetest.get_player_by_name(name)
if player then
player_api.set_animation(player, "sit")
airutils.sit(player)
--player_api.set_animation(player, "sit")
--apply_physics_override(player, {speed=0,gravity=0,jump=0})
end
end)
@ -63,7 +64,8 @@ function trike.attach_pax(self, player)
minetest.after(1, function()
player = minetest.get_player_by_name(name)
if player then
player_api.set_animation(player, "sit")
airutils.sit(player)
--player_api.set_animation(player, "sit")
--apply_physics_override(player, {speed=0,gravity=0,jump=0})
end
end)