Add support for max translations
This commit is contained in:
parent
6127729ca6
commit
950c6b4f2d
1 changed files with 4 additions and 0 deletions
|
|
@ -357,6 +357,10 @@ int LUA_PushGlobals(lua_State *L, const char *word)
|
||||||
else
|
else
|
||||||
lua_pushinteger(L, MAXSKINCOLORS);
|
lua_pushinteger(L, MAXSKINCOLORS);
|
||||||
return 1;
|
return 1;
|
||||||
|
} else if (fastcmp(word,"MAXTRANSLATIONS")) {
|
||||||
|
if (lua_compatmode)
|
||||||
|
lua_pushinteger(L, numskincolors);
|
||||||
|
return 1;
|
||||||
} else if (fastcmp(word,"gamespeed")) {
|
} else if (fastcmp(word,"gamespeed")) {
|
||||||
lua_pushinteger(L, gamespeed);
|
lua_pushinteger(L, gamespeed);
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue