Quickmount - Fix teleport bug in UAV through change seat (#9065)

* fix bug with changeseat in uavs

* isnull to isNull

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

---------

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
This commit is contained in:
letus 2023-02-01 00:12:19 +01:00 committed by GitHub
parent 952375c676
commit 8d2d49202d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,7 @@ GVAR(enabled)
} }
&& {alive _vehicle} && {alive _vehicle}
&& {2 > locked _vehicle} && {2 > locked _vehicle}
&& {isNull getConnectedUAVUnit _unit}
&& {simulationEnabled _vehicle} && {simulationEnabled _vehicle}
&& { && {
-1 == crew _vehicle findIf {alive _x} -1 == crew _vehicle findIf {alive _x}