diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut index 75356e754..e2e4a38c5 100644 --- a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut +++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut @@ -1377,7 +1377,8 @@ void function TriggerConnectToServerCallbacks( ServerInfo ornull targetServer = } } +const array CORE_MODS = ["Northstar.Client", "Northstar.Coop", "Northstar.CustomServers", "Northstar.Custom"] bool function IsCoreMod( string modName ) { - return modName.len() > 10 && modName.slice(0, 10) == "Northstar." + return CORE_MODS.find( modName ) != -1 } \ No newline at end of file