mirror of
https://github.com/APercy/airutils
synced 2025-08-24 05:06:24 +02:00
added support for custom forms
This commit is contained in:
parent
0509ddfe1c
commit
42e111dcea
@ -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…
Reference in New Issue
Block a user