From 950c6b4f2d726d67e98a3810a012394a26e18f6c Mon Sep 17 00:00:00 2001 From: NepDisk Date: Mon, 26 May 2025 17:38:32 -0400 Subject: [PATCH] Add support for max translations --- src/lua_script.c | 4 ++++ 1 file changed, 4 insertions(+) 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;