From 8d2d49202dd57039f2fa88ddf466a3db2cde73a2 Mon Sep 17 00:00:00 2001 From: letus Date: Wed, 1 Feb 2023 00:12:19 +0100 Subject: [PATCH] Quickmount - Fix teleport bug in UAV through change seat (#9065) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix bug with changeseat in uavs * isnull to isNull Co-authored-by: Jouni Järvinen --------- Co-authored-by: Jouni Järvinen --- addons/quickmount/functions/fnc_canShowFreeSeats.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/quickmount/functions/fnc_canShowFreeSeats.sqf b/addons/quickmount/functions/fnc_canShowFreeSeats.sqf index 94f5ff6de5..5735aa88e3 100644 --- a/addons/quickmount/functions/fnc_canShowFreeSeats.sqf +++ b/addons/quickmount/functions/fnc_canShowFreeSeats.sqf @@ -29,6 +29,7 @@ GVAR(enabled) } && {alive _vehicle} && {2 > locked _vehicle} +&& {isNull getConnectedUAVUnit _unit} && {simulationEnabled _vehicle} && { -1 == crew _vehicle findIf {alive _x}