fix sit behaviour
parent
e2e1be3266
commit
91bc6ced6b
|
@ -38,11 +38,11 @@ function demoiselle.attach(self, player)
|
|||
player:set_eye_offset({x = 0, y = 2, z = 2}, {x = 0, y = 1, z = -30})
|
||||
end
|
||||
player_api.player_attached[name] = true
|
||||
player_api.set_animation(player, "sit")
|
||||
-- make the driver sit
|
||||
minetest.after(1, function()
|
||||
player = minetest.get_player_by_name(name)
|
||||
if player then
|
||||
player_api.set_animation(player, "sit")
|
||||
airutils.sit(player)
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Reference in New Issue