diff --git a/src/lua_script.c b/src/lua_script.c index 7ad34db89..b72d14c41 100644 --- a/src/lua_script.c +++ b/src/lua_script.c @@ -357,6 +357,10 @@ int LUA_PushGlobals(lua_State *L, const char *word) else lua_pushinteger(L, MAXSKINCOLORS); return 1; + } else if (fastcmp(word,"MAXTRANSLATIONS")) { + if (lua_compatmode) + lua_pushinteger(L, numskincolors); + return 1; } else if (fastcmp(word,"gamespeed")) { lua_pushinteger(L, gamespeed); return 1;