Skip to content

Commit

Permalink
Fix server freeze on cache destroy
Browse files Browse the repository at this point in the history
Missing default value when find_pos fail to find a city/position
  • Loading branch information
Vdauphin committed Mar 9, 2024
1 parent d21ed12 commit f4b054e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Author:
---------------------------------------------------------------------------- */

params [
["_city_all", [], [[]]]
["_city_all", values btc_city_all, [[]]]
];

private _useful = _city_all select {_x getVariable ["occupied", false] && {!(_x getVariable ["type", ""] in ["NameLocal", "Hill", "NameMarine"])}};
Expand Down

0 comments on commit f4b054e

Please sign in to comment.