Skip to content

Commit

Permalink
Random Recruiting Micro AI: fix [probability] tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsc committed Mar 28, 2016
1 parent 6026780 commit c82ae94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/ai/micro_ais/mai-defs/recruiting.lua
Expand Up @@ -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 }
Expand Down

0 comments on commit c82ae94

Please sign in to comment.