diff --git a/src/dehacked.c b/src/dehacked.c index 199ea43ca89160879676a05f2325806d2301ab07..f7845af447865b1e2ec59692541b35a51ab99855 100644 --- a/src/dehacked.c +++ b/src/dehacked.c @@ -8276,6 +8276,9 @@ static inline int lib_getenum(lua_State *L) } else if (fastcmp(word,"VERSIONSTRING")) { lua_pushstring(L, VERSIONSTRING); return 1; + } else if (fastcmp(word, "token")) { + lua_pushinteger(L, token); + return 1; } return 0;