removed unused local function get_team

All of the side-taking lua tags have now a SSF, except for
capture_village for which I yet don't have a good idea how to deal
with.
This commit is contained in:
Anonymissimus 2011-05-13 16:58:36 +00:00
parent f6e09f4f72
commit da3ae555d6

View File

@ -37,14 +37,6 @@ function wml_actions.message(cfg)
end
end
local function get_team(side, tag)
side = tonumber(side or 1) or
helper.wml_error(tag .. " given a noninteger side= attribute.")
local team = wesnoth.sides[side] or
helper.wml_error(tag .. " given an invalid side= attribute.")
return team
end
function wml_actions.chat(cfg)
local side_list = wesnoth.get_sides(cfg)
local message = tostring(cfg.message) or