diff options
Diffstat (limited to 'NorthstarDedicatedTest/scriptmodmenu.cpp')
-rw-r--r-- | NorthstarDedicatedTest/scriptmodmenu.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/NorthstarDedicatedTest/scriptmodmenu.cpp b/NorthstarDedicatedTest/scriptmodmenu.cpp index aa12d5a7..44b3f1c9 100644 --- a/NorthstarDedicatedTest/scriptmodmenu.cpp +++ b/NorthstarDedicatedTest/scriptmodmenu.cpp @@ -2,7 +2,6 @@ #include "scriptmodmenu.h" #include "modmanager.h" #include "squirrel.h" -#include "dedicated.h" // array<string> function NSGetModNames() SQRESULT SQ_GetModNames(void* sqvm) @@ -178,9 +177,6 @@ SQRESULT SQ_ReloadMods(void* sqvm) void InitialiseScriptModMenu(HMODULE baseAddress) { - if (IsDedicated()) - return; - g_UISquirrelManager->AddFuncRegistration("array<string>", "NSGetModNames", "", "Returns the names of all loaded mods", SQ_GetModNames); g_UISquirrelManager->AddFuncRegistration( "bool", "NSIsModEnabled", "string modName", "Returns whether a given mod is enabled", SQ_IsModEnabled); |