# 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 @@ ==== !GetTeamName(teamIdx) (0.9.24) ==== Returns the name of the team with the index `teamIdx`. `teamIdx` is a number between 0 and `TeamsCount-1`. -==== !GetTeamName(teamname) (0.9.24) ==== +==== !GetTeamIndex(teamname) (0.9.24) ==== Returns the team index (number between 0 and `TeamsCount-1`) of the team with the name `teamName`. ==== !GetTeamClan(teamname) (0.9.24) ====