mirror of https://github.com/APercy/airutils
fix error on disembark
This commit is contained in:
parent
d584970c76
commit
5e8e9e583d
|
@ -128,7 +128,9 @@ function airutils.dettachPlayer(self, player)
|
|||
|
||||
--move the player to the parent ship if any
|
||||
if extern_ent then
|
||||
extern_ent.on_rightclick(extern_ent, player)
|
||||
if extern_ent.on_rightclick then
|
||||
extern_ent.on_rightclick(extern_ent, player)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue