add server only event handler only on server machine

This commit is contained in:
commy2 2016-09-19 10:05:16 +02:00
parent 81d962f0d5
commit 158b1eed69

View File

@ -6,4 +6,6 @@
_unit call FUNC(checkItems);
}] call CBA_fnc_addEventHandler;
[QGVAR(createLitterServer), FUNC(litterHandleCreate)] call CBA_fnc_addEventHandler;
if (isServer) then {
[QGVAR(createLitterServer), FUNC(litterHandleCreate)] call CBA_fnc_addEventHandler;
};