mirror of
https://github.com/APercy/airutils.git
synced 2025-07-15 10:46:42 -04:00
added external information compatibility
This commit is contained in:
parent
d605ae0acd
commit
2276891db7
2 changed files with 32 additions and 3 deletions
|
@ -265,7 +265,9 @@ function airutils.dettach_pax(self, player, is_flying)
|
|||
|
||||
--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
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue