From fabd3f689e56571ccbca85c9e799d6b367ab692b Mon Sep 17 00:00:00 2001 From: Eero af Heurlin Date: Sun, 31 Jul 2016 18:30:48 +0300 Subject: [PATCH] this does not work on dedicated server, added more debugging --- helotraining_mp.Altis/getSideTasks.sqf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/helotraining_mp.Altis/getSideTasks.sqf b/helotraining_mp.Altis/getSideTasks.sqf index 810392c..f896935 100644 --- a/helotraining_mp.Altis/getSideTasks.sqf +++ b/helotraining_mp.Altis/getSideTasks.sqf @@ -1,16 +1,19 @@ -//diag_log format["getSideTasks called, _this: %1", _this]; +diag_log format["getSideTasks called, _this: %1", _this]; private _side = _this select 0; private _returnValue = []; +// This does not work on dedicated server for whatever reason { _unit = _x; + diag_log format["getSideTasks unit: %1 side %2", _unit, (side _unit)]; if (side _unit == _side) then { _tasks = _x call BIS_fnc_tasksUnit; + diag_log format["getSideTasks unit: %1 side %2 tasks %3", _unit, (side _unit), _tasks]; { _returnValue pushBackUnique _x; } foreach _tasks; }; } foreach allUnits; -//diag_log format["getSideTasks returning: %1", _returnValue]; +diag_log format["getSideTasks returning: %1", _returnValue]; _returnValue \ No newline at end of file