mirror of
https://github.com/APercy/airutils.git
synced 2025-03-21 18:41:21 +00:00
fix error on disembark
This commit is contained in:
parent
d584970c76
commit
5e8e9e583d
1 changed files with 3 additions and 1 deletions
|
@ -128,7 +128,9 @@ function airutils.dettachPlayer(self, player)
|
||||||
|
|
||||||
--move the player to the parent ship if any
|
--move the player to the parent ship if any
|
||||||
if extern_ent then
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue