aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod/scripts/vscripts
diff options
context:
space:
mode:
authorwolf109909 <84360921+wolf109909@users.noreply.github.com>2024-07-31 20:21:18 +0800
committerGitHub <noreply@github.com>2024-07-31 14:21:18 +0200
commitad2e09bd8d416be5548bf48c866be42ac402d744 (patch)
treea9e57db08ebfc27f965619bfc749e2efe9e34265 /Northstar.Client/mod/scripts/vscripts
parent459e83b35c3485280bee56e2d3419731d3dd29bc (diff)
downloadNorthstarMods-ad2e09bd8d416be5548bf48c866be42ac402d744.tar.gz
NorthstarMods-ad2e09bd8d416be5548bf48c866be42ac402d744.zip
Remove redundant parameter in DownloadMod (#827)
This parameter is a leftover of a previous refactor, and isn't used anywhere in the function.
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts')
-rw-r--r--Northstar.Client/mod/scripts/vscripts/ui/menu_ns_moddownload.nut2
-rw-r--r--Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut2
2 files changed, 2 insertions, 2 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_moddownload.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_moddownload.nut
index 3b81c7f9..4968714c 100644
--- a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_moddownload.nut
+++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_moddownload.nut
@@ -49,7 +49,7 @@ void function FetchVerifiedModsManifesto()
CloseActiveMenu()
}
-bool function DownloadMod( RequiredModInfo mod, string serverName )
+bool function DownloadMod( RequiredModInfo mod )
{
// Downloading mod UI
DialogData dialogData
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 5517843e..1396dd22 100644
--- a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut
+++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut
@@ -1030,7 +1030,7 @@ void function OnServerSelected_Threaded( var button )
}
else
{
- if ( DownloadMod( mod, server.name ) )
+ if ( DownloadMod( mod ) )
{
downloadedMods++
}