diff options
-rw-r--r-- | .github/nativefuncs.json | 18 | ||||
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/ui/menu_ns_modmenu.nut | 4 |
2 files changed, 22 insertions, 0 deletions
diff --git a/.github/nativefuncs.json b/.github/nativefuncs.json index 889432d7..11042903 100644 --- a/.github/nativefuncs.json +++ b/.github/nativefuncs.json @@ -19,6 +19,12 @@ "argTypes":"string modName, bool enabled" }, { + "name":"NSIsModRemote", + "helpText":"", + "returnTypeString":"bool", + "argTypes":"string modName" + }, + { "name":"NSGetModDescriptionByModName", "helpText":"", "returnTypeString":"string", @@ -267,6 +273,12 @@ "argTypes":"string modName, bool enabled" }, { + "name":"NSIsModRemote", + "helpText":"", + "returnTypeString":"bool", + "argTypes":"string modName" + }, + { "name":"NSGetModDescriptionByModName", "helpText":"", "returnTypeString":"string", @@ -467,6 +479,12 @@ "argTypes":"string modName, bool enabled" }, { + "name":"NSIsModRemote", + "helpText":"", + "returnTypeString":"bool", + "argTypes":"string modName" + }, + { "name":"NSGetModDescriptionByModName", "helpText":"", "returnTypeString":"string", diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_modmenu.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_modmenu.nut index 3f643aa3..f08d69a7 100644 --- a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_modmenu.nut +++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_modmenu.nut @@ -338,6 +338,10 @@ void function RefreshMods() { string mod = modNames[i] + // Do not display remote mods + if ( NSIsModRemote( mod ) ) + continue + if ( searchTerm.len() && mod.tolower().find( searchTerm ) == null ) continue |