Moved client language detection to be earlier (on connect) (bug 3714, r=psychonic).

This commit is contained in:
GoD-Tony
2011-10-15 12:07:55 -04:00
parent 7f8c4eff39
commit 4b0373408d
3 changed files with 18 additions and 17 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ native SetGlobalTransTarget(client);
*
* @param client Client index.
* @return Language number client is using.
* @error Invalid client index or client not in game.
* @error Invalid client index or client not connected.
*/
native GetClientLanguage(client);
@@ -100,7 +100,7 @@ native GetLanguageInfo(language, String:code[]="", codeLen=0, String:name[]="",
* @param client Client index.
* @param language Language number.
* @noreturn
* @error Invalid client index or client not in game.
* @error Invalid client index or client not connected.
*/
native SetClientLanguage(client, language);