Fixed small scripting error in _fnc_findSafePosn.sqf
This commit is contained in:
parent
15c47fc786
commit
9406cf7ba2
@ -30,13 +30,13 @@ _weightTowns = 0.7;
|
|||||||
_weightPlayers = 0.6;
|
_weightPlayers = 0.6;
|
||||||
if (blck_modType isEqualTo "Epoch") then {_pole = "PlotPole_EPOCH"};
|
if (blck_modType isEqualTo "Epoch") then {_pole = "PlotPole_EPOCH"};
|
||||||
if (blck_modType isEqualTo "Exile") then {_pole = "Exile_Construction_Flag_Static"};
|
if (blck_modType isEqualTo "Exile") then {_pole = "Exile_Construction_Flag_Static"};
|
||||||
|
_recentMissionCoords = +blck_recentMissionCoords;
|
||||||
{
|
{
|
||||||
if (diag_tickTime > ((_x select 1) + 1200)) then // if the prior mission was completed more than 20 min ago then delete it from the list and ignore the check for this location.
|
if (diag_tickTime > ((_x select 1) + 1200)) then // if the prior mission was completed more than 20 min ago then delete it from the list and ignore the check for this location.
|
||||||
{
|
{
|
||||||
blck_recentMissionCoords deleteAt (blck_recentMissionCoords find _x);
|
blck_recentMissionCoords deleteAt (blck_recentMissionCoords find _x);
|
||||||
};
|
};
|
||||||
}forEach blck_recentMissionCoords;
|
}forEach _recentMissionCoords;
|
||||||
|
|
||||||
while {_findNew} do
|
while {_findNew} do
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user