Goto Micro AI: do not exclude leaders by default
The MAI accidentally excluded units with canrecruit=yes. Thanks H-Hour.
This commit is contained in:
parent
eb8619a3cf
commit
3fadf4cc31
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ return {
|
|||
if (not locs[1]) then return 0 end
|
||||
|
||||
-- Find the goto units
|
||||
local units = wesnoth.get_units { side = wesnoth.current.side, canrecruit = "no",
|
||||
local units = wesnoth.get_units { side = wesnoth.current.side,
|
||||
{ "and", cfg.filter }, formula = '$this_unit.moves > 0'
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue