mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
#78 - targetEvent working in SP
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user