mirror of
https://github.com/APercy/airutils.git
synced 2025-03-22 19:02:20 +00:00
added support for custom forms
This commit is contained in:
parent
0509ddfe1c
commit
42e111dcea
1 changed files with 5 additions and 1 deletions
|
@ -603,7 +603,11 @@ function airutils.on_rightclick(self, clicker)
|
||||||
-- detach pilot
|
-- detach pilot
|
||||||
--=========================
|
--=========================
|
||||||
if name == self.driver_name then
|
if name == self.driver_name then
|
||||||
airutils.pilot_formspec(name)
|
if not self._custom_pilot_formspec then
|
||||||
|
airutils.pilot_formspec(name)
|
||||||
|
else
|
||||||
|
self._custom_pilot_formspec(name)
|
||||||
|
end
|
||||||
--=========================
|
--=========================
|
||||||
-- detach passenger
|
-- detach passenger
|
||||||
--=========================
|
--=========================
|
||||||
|
|
Loading…
Add table
Reference in a new issue