From 3d278b3b25fe0b62bec1f196116d175b29c20640 Mon Sep 17 00:00:00 2001 From: Rémy Raes Date: Thu, 29 Aug 2024 15:44:12 +0200 Subject: Hide remote mods in mods display (#799) As they are supposed to be disabled unless joining a server that requires that mod. --- Northstar.Client/mod/scripts/vscripts/ui/menu_ns_modmenu.nut | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Northstar.Client/mod') 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 -- cgit v1.2.3