Skip to content

Commit

Permalink
Merge pull request #385 from Vdauphin/FIX-mine
Browse files Browse the repository at this point in the history
FIX: side mission mine is not trigger correctly
  • Loading branch information
Vdauphin authored Aug 14, 2017
2 parents b099fa2 + 2889cf9 commit 6fdf5ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/side/mines.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ for "_i" from 1 to (5 + round random 5) do {
_mines pushBack _m;
};

waitUntil {sleep 5; (btc_side_aborted || btc_side_failed || ({_x distance _pos > 100} count playableUnits == 0))};
waitUntil {sleep 5; (btc_side_aborted || btc_side_failed || ({_x distance _pos < 200} count playableUnits > 0))};

_closest = [_city,btc_city_all select {!(_x getVariable ["active",false])},false] call btc_fnc_find_closecity;
for "_i" from 1 to (round random 2) do {
Expand Down

0 comments on commit 6fdf5ca

Please sign in to comment.