Skip to content

Commit

Permalink
Protect Unit Micro AI: fix bug in AI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsc authored and mattsc committed Mar 20, 2016
1 parent 33a04c3 commit 3d01dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/ai/micro_ais/micro_ai_wml_tag.lua
Expand Up @@ -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]"
}
Expand Down

0 comments on commit 3d01dab

Please sign in to comment.