Protect Unit MAI: fix typo in MAI removal code
This commit is contained in:
parent
b019bfa180
commit
7792e9b5f4
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ function wesnoth.micro_ais.protect_unit(cfg)
|
|||
MAIH.delete_aspects(cfg.side, aspect_parms)
|
||||
-- We also need to add the move_leader_to_keep CA back in
|
||||
-- This works even if it was not removed, it simply overwrites the existing CA
|
||||
wesnoth.side.add_ai_component(cfg.side, "stage[main_loop].candidate_action",
|
||||
wesnoth.sides.add_ai_component(cfg.side, "stage[main_loop].candidate_action",
|
||||
{
|
||||
id="move_leader_to_keep",
|
||||
engine="cpp",
|
||||
|
|
Loading…
Add table
Reference in a new issue