WC2: support 10th side on field
This commit is contained in:
parent
ee42883f14
commit
7721e8af3a
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ end
|
|||
function wesnoth.wml_actions.wc2_fix_colors(cfg)
|
||||
local player_sides = wesnoth.sides.find(wml.get_child(cfg, "player_sides"))
|
||||
local other_sides = wesnoth.sides.find { { "not", wml.get_child(cfg, "player_sides") } }
|
||||
local available_colors = { "red", "blue", "green", "purple", "black", "brown", "orange", "white", "teal" }
|
||||
local available_colors = { "red", "blue", "green", "purple", "black", "brown", "orange", "white", "teal", "gold" }
|
||||
local taken_colors = {}
|
||||
|
||||
for i, side in ipairs(player_sides) do
|
||||
|
|
Loading…
Add table
Reference in a new issue