Protect Unit Micro AI: fix bug in AI setup

This commit is contained in:
mattsc 2016-03-20 09:58:43 -07:00
parent 33a04c32e2
commit 3d01dabce6

View file

@ -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]"
}