Fixed unfinished missions

This commit is contained in:
IT07 2016-05-10 14:19:20 +02:00
parent c639c062b9
commit e1e2f05fd4

View File

@ -39,7 +39,7 @@ if (count _pos isEqualTo 3) then
if _playerNear then
{
{
if (damage _x isEqualTo 1) then
if (damage _x isEqualTo 1 OR isNull _x) then
{
_killed pushBack _x;
};
@ -57,7 +57,7 @@ if (count _pos isEqualTo 3) then
if (((count _killed) isEqualTo _killToComplete) OR ((count _killed) > _killToComplete)) then { _complete = true };
if not _complete then { uiSleep 1 };
};
["fn_waitForMissionDone", 1, format["mission in %1 completed!", _this select 0]] spawn VEMFr_fnc_log;
["fn_waitForMissionDone", 1, format["mission in %1 completed!", _this select 0]] ExecVM "exile_vemf_reloaded\sqf\log.sqf";
};
};
};