mirror of
https://github.com/APercy/ap_airship.git
synced 2025-07-21 06:44:47 -04:00
improved ship dettach
This commit is contained in:
parent
060b2fac5b
commit
5c81cc7858
2 changed files with 5 additions and 4 deletions
|
@ -256,8 +256,6 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
-- dettach player
|
||||
--=========================
|
||||
-- eject passenger if the plane is on ground
|
||||
ent.driver_name = nil
|
||||
ent._at_control = false
|
||||
|
||||
ap_airship.dettach_pax(ent, player, "l")
|
||||
|
||||
|
@ -267,8 +265,6 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
-- dettach player
|
||||
--=========================
|
||||
-- eject passenger if the plane is on ground
|
||||
ent.driver_name = nil
|
||||
ent._at_control = false
|
||||
|
||||
ap_airship.dettach_pax(ent, player, "r")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue