From 7d998acc716ec858d85cba6f86ac5df7c61edcb2 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Sat, 30 Dec 2017 06:46:11 -0600 Subject: [PATCH] Fix rearm entire vehicle argument order (#5993) --- addons/rearm/functions/fnc_rearmEntireVehicle.sqf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/rearm/functions/fnc_rearmEntireVehicle.sqf b/addons/rearm/functions/fnc_rearmEntireVehicle.sqf index 47dde150e6e..a388b80c322 100644 --- a/addons/rearm/functions/fnc_rearmEntireVehicle.sqf +++ b/addons/rearm/functions/fnc_rearmEntireVehicle.sqf @@ -18,15 +18,16 @@ #include "script_component.hpp" params ["_truck", "_player", "_vehicle"]; +TRACE_3("rearmEntireVehicle",_truck,_player,_vehicle); [ TIME_PROGRESSBAR(10), - [_truck, _player, _vehicle], + [_truck, _vehicle, _player], FUNC(rearmEntireVehicleSuccess), "", format [localize LSTRING(BasicRearmAction), getText(configFile >> "CfgVehicles" >> (typeOf _vehicle) >> "displayName")], { - param [0] params ["", "_player", "_vehicle"]; + param [0] params ["", "_vehicle", "_player"]; (_player distanceSqr _vehicle) <= REARM_ACTION_DISTANCE_SQR }, ["isnotinside"]