ExpAI retreat code: also return enemy attack map
This commit is contained in:
parent
1fa06a6811
commit
9c86a71ef7
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ function retreat_functions.get_retreat_injured_units(healees, regenerates)
|
|||
end
|
||||
end
|
||||
|
||||
return best_unit, best_loc
|
||||
return best_unit, best_loc, enemy_attack_map.units:get(best_loc[1], best_loc[2]) or 0
|
||||
end
|
||||
|
||||
return retreat_functions
|
||||
|
|
Loading…
Add table
Reference in a new issue