Skip to content

Commit

Permalink
Fix rearm entire vehicle argument order (#5993)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored and kymckay committed Dec 30, 2017
1 parent 1b33212 commit 7d998ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions addons/rearm/functions/fnc_rearmEntireVehicle.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 7d998ac

Please sign in to comment.