Skip to content

Commit

Permalink
Merge pull request #263 from Vdauphin/FIX-medical_side
Browse files Browse the repository at this point in the history
FIX: side mission medical is not trigger correctly
  • Loading branch information
Vdauphin authored Dec 16, 2016
2 parents f217c9b + 326de48 commit ea1aa73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ _unit setUnitPos "DOWN";

sleep 1;

waitUntil {sleep 5; (btc_side_aborted || btc_side_failed || ({_x distance _unit > 5000} count playableUnits == 0))};
waitUntil {sleep 5; (btc_side_aborted || btc_side_failed || ({_x distance _unit < 5000} count playableUnits > 0))};

[_unit] call btc_fnc_set_damage;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ _index = 1 + floor (random (_veh emptyPositions "cargo"));
_unit assignAsCargoIndex [_veh, _index];
_unit moveinCargo [_veh, _index];
sleep 1;
waitUntil {sleep 5; (btc_side_aborted || btc_side_failed || ({_x distance _unit > 5000} count playableUnits == 0))};
waitUntil {sleep 5; (btc_side_aborted || btc_side_failed || ({_x distance _unit < 5000} count playableUnits > 0))};
[_unit] call btc_fnc_set_damage;

{_x call btc_fnc_civ_unit_create} foreach units _group;
Expand Down

0 comments on commit ea1aa73

Please sign in to comment.