Random Recruiting Micro AI: fix [probability] tag
This commit is contained in:
parent
6026780539
commit
c82ae94ae9
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ function wesnoth.micro_ais.recruit_rushers(cfg)
|
|||
end
|
||||
|
||||
function wesnoth.micro_ais.recruit_random(cfg)
|
||||
local optional_keys = { "skip_low_gold_recruiting", "type", "prob" }
|
||||
local optional_keys = { "skip_low_gold_recruiting", "type", "probability" }
|
||||
local CA_parms = {
|
||||
ai_id = 'mai_random_recruit',
|
||||
{ ca_id = "move", location = 'ca_recruit_random.lua', score = cfg.ca_score or 180000 }
|
||||
|
|
Loading…
Add table
Reference in a new issue