From 15a2d3e5d97a894a9635e91383c9e55885ba91a0 Mon Sep 17 00:00:00 2001 From: Filip Maciejewski Date: Thu, 18 Jul 2019 16:07:34 +0200 Subject: [PATCH] Enable service vehicle checks --- addons/unflipping/functions/fn_canUnflipLocal.sqf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/unflipping/functions/fn_canUnflipLocal.sqf b/addons/unflipping/functions/fn_canUnflipLocal.sqf index 5f3dc2a..b047794 100644 --- a/addons/unflipping/functions/fn_canUnflipLocal.sqf +++ b/addons/unflipping/functions/fn_canUnflipLocal.sqf @@ -3,7 +3,7 @@ File: fn_canUnflipLocal.sqf Date: 2019-06-18 - Last Update: 2019-06-18 + Last Update: 2019-07-18 License: GNU General Public License v3.0 - https://www.gnu.org/licenses/gpl-3.0.html Description: @@ -25,3 +25,4 @@ params [ && {alive _target} && {(vehicle _unit) isEqualTo _unit} && {_unit call vet_unflipping_fnc_hasToolKitRequired} +&& {[_unit, _target] call vet_unflipping_fnc_isServiceVehicleNearRequired}