From 34bd5e0c2eacbbda80d1432a1beb1e7b706eae1f Mon Sep 17 00:00:00 2001 From: Remy Raes Date: Sun, 28 Jul 2024 00:02:42 +0200 Subject: [PATCH] fix: enable auto-download if remote mod exists locally but with a different version --- .../mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 50a650eca..5d604198c 100644 --- a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut +++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut @@ -994,7 +994,7 @@ void function OnServerSelected_Threaded( var button ) foreach ( RequiredModInfo mod in server.requiredMods ) { - if ( !NSGetModNames().contains( mod.name ) ) + if ( !NSGetModNames().contains( mod.name ) || NSGetModVersionByModName( mod.name ) != mod.version ) { // Auto-download mod if ( autoDownloadAllowed )