1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00

- targetEvent working in SP

This commit is contained in:
PabstMirror 2015-01-20 03:54:34 -06:00
parent 544dbb1e29
commit aec687f007

@ -34,6 +34,13 @@ if(_eventType == "ACEc") then {
if(!IS_ARRAY(_eventTargets)) then {
_eventTargets = [_eventTargets];
};
//If not multiplayer, and there are targets, then just run localy
if ((!isMultiplayer) && {(count _eventTargets) > 0}) exitWith {
ACEg = [_eventName, _eventArgs];
["ACEg", ACEg] call FUNC(_handleNetEvent);
};
_serverFlagged = false;
{
_owner = _x;