Fix a Lua error in [modify_side]
This commit is contained in:
parent
9ef1e928c7
commit
05bc654e76
1 changed files with 1 additions and 1 deletions
|
@ -987,7 +987,7 @@ function wml_actions.modify_side(cfg)
|
|||
side.hidden = cfg.hidden
|
||||
end
|
||||
if cfg.color or cfg.flag then
|
||||
wesnoth.set_team_id(side.side, cfg.flag, cfg.color)
|
||||
wesnoth.set_side_id(side.side, cfg.flag, cfg.color)
|
||||
end
|
||||
if cfg.flag_icon then
|
||||
side.flag_icon = cfg.flag_icon
|
||||
|
|
Loading…
Add table
Reference in a new issue