Add support for max translations

This commit is contained in:
NepDisk 2025-05-26 17:38:32 -04:00
parent 6127729ca6
commit 950c6b4f2d

View file

@ -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;