# HG changeset patch
# User Wuzzy
# Date 1519127558 0
# Node ID 344aa78491f6a7795444d60749bc7e84715c5637
# Parent  dcd14c9ccd2f657dc4798c93466df62771aa1ae2
LuaAPI: fix GetTeamIndex

diff -r dcd14c9ccd2f -r 344aa78491f6 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) ====