From fba1a322acf69d9947eaceeb34596e85eb068845 Mon Sep 17 00:00:00 2001 From: esteldunedain Date: Sat, 27 Feb 2016 09:50:44 -0300 Subject: [PATCH] Yet more fixes --- addons/explosives/XEH_postInit.sqf | 2 +- addons/explosives/functions/fnc_setPosition.sqf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/explosives/XEH_postInit.sqf b/addons/explosives/XEH_postInit.sqf index 2a05b3311a..bbbd192a07 100644 --- a/addons/explosives/XEH_postInit.sqf +++ b/addons/explosives/XEH_postInit.sqf @@ -43,7 +43,7 @@ if (isServer) then { params ["_logic"]; TRACE_1("clientRequestsOrientations received:",_logic); TRACE_1("serverSendsOrientations sent:",GVAR(explosivesOrientations)); - ["serverSendsOrientations", _logic, GVAR(explosivesOrientations)] call EFUNC(common,targetEvent); + ["serverSendsOrientations", _logic, [GVAR(explosivesOrientations)]] call EFUNC(common,targetEvent); }] call EFUNC(common,addEventHandler); } else { ["serverSendsOrientations", { diff --git a/addons/explosives/functions/fnc_setPosition.sqf b/addons/explosives/functions/fnc_setPosition.sqf index 05c4c8b8c6..430f926138 100644 --- a/addons/explosives/functions/fnc_setPosition.sqf +++ b/addons/explosives/functions/fnc_setPosition.sqf @@ -36,7 +36,7 @@ if (isServer) then { // This is a good time to filter the array and remove explosives that no longer exist GVAR(explosivesOrientations) = GVAR(explosivesOrientations) select { - params ["_explosive"]; + _x params ["_explosive"]; (!isNull _explosive && {alive _explosive}) }; TRACE_1("setPosition",GVAR(explosivesOrientations));