function _find_expansion_locations generates group of locations: 'possible_points'.
Then this group is eliminated based on distance to closest resources.
In case none is left, later at line 367 min() function for distance fails as it has no arguments to compare.
Fix enables playing on wider variety of maps. (Like many maps for 3+ players where resource placement is not perfect.)
function _find_expansion_locations generates group of locations: 'possible_points'. Then this group is eliminated based on distance to closest resources. In case none is left, later at line 367 min() function for distance fails as it has no arguments to compare. Fix enables playing on wider variety of maps. (Like many maps for 3+ players where resource placement is not perfect.)