Protect Unit Micro AI: fix bug in AI setup
This commit is contained in:
parent
33a04c32e2
commit
3d01dabce6
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ function wesnoth.wml_actions.micro_ai(cfg)
|
|||
-- separately as it affects a default CA
|
||||
if cfg.disable_move_leader_to_keep then
|
||||
W.modify_ai {
|
||||
side = side,
|
||||
side = cfg.side,
|
||||
action = "try_delete",
|
||||
path = "stage[main_loop].candidate_action[move_leader_to_keep]"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue