Skip to content

Commit

Permalink
Fix a Lua error in [modify_side]
Browse files Browse the repository at this point in the history
  • Loading branch information
sigurdfdragon authored and Vultraz committed Feb 28, 2017
1 parent 9ef1e92 commit 05bc654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/lua/wml-tags.lua
Expand Up @@ -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
Expand Down

0 comments on commit 05bc654

Please sign in to comment.