From 05bc654e7675119ece92e2145ac6950f2f7a59ab Mon Sep 17 00:00:00 2001 From: sigurdfdragon Date: Mon, 27 Feb 2017 20:20:52 -0500 Subject: [PATCH] Fix a Lua error in [modify_side] --- data/lua/wml-tags.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/lua/wml-tags.lua b/data/lua/wml-tags.lua index 048afa566bfc..02330ceba5f3 100644 --- a/data/lua/wml-tags.lua +++ b/data/lua/wml-tags.lua @@ -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