Yet more fixes

This commit is contained in:
esteldunedain 2016-02-27 09:50:44 -03:00
parent 823eb116ae
commit fba1a322ac
2 changed files with 2 additions and 2 deletions

View File

@ -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", {

View File

@ -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));