Patrol MAI: change from behavior CA to side-wide CA

Only side-wide CAs can use the external CAs, and there are some other
changes we want to make as well that require this.
This commit is contained in:
mattsc 2013-10-24 19:41:43 -07:00
parent ea99f746c9
commit 909d33ca77

View file

@ -431,7 +431,7 @@ function wesnoth.wml_actions.micro_ai(cfg)
if (not cfg.id) then
H.wml_error("[micro_ai] tag (patrol_unit) is missing required parameter: id")
end
CA_parms = { { ca_id = "mai_patrol", score = cfg.ca_score or 300000, sticky = true } }
CA_parms = { { ca_id = "mai_patrol", score = cfg.ca_score or 300000 } }
--------- Recruiting Micro AI - side-wide AI ------------------------------------
elseif (cfg.ai_type == 'recruiting') then