replaced a wesnoth.get_side -> wesnoth.sides

This commit is contained in:
Anonymissimus 2010-12-19 20:34:47 +00:00
parent 7ec935255f
commit 24a8edb7bd

View file

@ -23,7 +23,7 @@ end
function helper.all_teams()
local function f(s)
local i = s.i
local team = wesnoth.get_side(i)
local team = wesnoth.sides[i]
s.i = i + 1
return team
end