diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 1a0dd9532..03540ade7 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -5178,7 +5178,7 @@ static void Command_Version_f(void) #ifdef UPDATE_ALERT static void Command_ModDetails_f(void) { - CONS_Printf(M_GetText("Mod ID: %d\nMod Version: %d\nCode Base:%d\n"), MODID, MODVERSION, CODEBASE); + CONS_Printf(M_GetText("Mod App Name: %s\nMod Version: %d\nCode Base:%d\n"), SRB2APPLICATION, MODVERSION, CODEBASE); } #endif diff --git a/src/deh_tables.c b/src/deh_tables.c index 79449d929..844e0efeb 100644 --- a/src/deh_tables.c +++ b/src/deh_tables.c @@ -4479,7 +4479,6 @@ struct int_const_s const INT_CONST[] = { {"MUSICRATE",MUSICRATE}, {"RING_DIST",RING_DIST}, {"PUSHACCEL",PUSHACCEL}, - {"MODID",MODID}, // I don't know, I just thought it would be cool for a wad to potentially know what mod it was loaded into. {"MODVERSION",MODVERSION}, // or what version of the mod this is. {"CODEBASE",CODEBASE}, // or what release of SRB2 this is. {"NEWTICRATE",NEWTICRATE}, // TICRATE*NEWTICRATERATIO diff --git a/src/lua_script.c b/src/lua_script.c index fbcc4526e..5aabf3709 100644 --- a/src/lua_script.c +++ b/src/lua_script.c @@ -336,6 +336,10 @@ int LUA_PushGlobals(lua_State *L, const char *word) } else if (fastcmp(word,"VERSIONSTRING")) { lua_pushstring(L, VERSIONSTRING); return 1; + } else if (fastcmp(word,"APPLICATION")) { + // I don't know, I just thought it would be cool for a wad to potentially know what mod it was loaded into. + lua_pushstring(L, SRB2APPLICATION); + return 1; } else if (fastcmp(word,"gamespeed")) { lua_pushinteger(L, gamespeed); return 1;