LuaAPI: fix GetTeamIndex
authorWuzzy
Tue, 20 Feb 2018 11:52:38 +0000
changeset 1218 344aa78491f6
parent 1217 dcd14c9ccd2f
child 1219 b467502126fd
LuaAPI: fix GetTeamIndex
LuaAPI.wiki
--- a/LuaAPI.wiki	Tue Feb 20 11:51:56 2018 +0000
+++ b/LuaAPI.wiki	Tue Feb 20 11:52:38 2018 +0000
@@ -1166,7 +1166,7 @@
 ==== <tt>!GetTeamName(teamIdx)</tt> (0.9.24) ====
 Returns the name of the team with the index `teamIdx`. `teamIdx` is a number between 0 and `TeamsCount-1`.
 
-==== <tt>!GetTeamName(teamname)</tt> (0.9.24) ====
+==== <tt>!GetTeamIndex(teamname)</tt> (0.9.24) ====
 Returns the team index (number between 0 and `TeamsCount-1`) of the team with the name `teamName`.
 
 ==== <tt>!GetTeamClan(teamname)</tt> (0.9.24) ====