mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Yet more fixes
This commit is contained in:
parent
823eb116ae
commit
fba1a322ac
@ -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", {
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user