Fix syntax error in mine saving

This commit is contained in:
Filip Maciejewski 2019-10-09 20:20:53 +02:00
parent 17ae30bfc4
commit a2efefea40
No known key found for this signature in database
GPG Key ID: 53D1504CC3DBCD46
1 changed files with 2 additions and 2 deletions

View File

@ -585,9 +585,9 @@ while {true} do {
} forEach (_allBlueGroups select {(_fobPos distance2D (leader _x)) < (GRLIB_fob_range * 2)});
// Save all mines around FOB
private _fobMines = allMines inAreaArray [GRLIB_fob_range * 2, GRLIB_fob_range * 2];
private _fobMines = allMines inAreaArray [_fobPos, GRLIB_fob_range * 2, GRLIB_fob_range * 2];
_allMines pushBack (_fobMines apply {[
getPosWorld _x;;
getPosWorld _x,
[vectorDirVisual _x, vectorUpVisual _x],
typeOf _x
]});