aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-30 20:20:21 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-30 20:20:21 +0000
commitaed2841ebbecb6376f00bf190503ce5c694f9fa4 (patch)
treea753c7a19d09799864378364b019644bde28545c /Northstar.Client/mod
parent3044198c4078b7bd72ecc84e833e490941d23d10 (diff)
downloadNorthstarMods-aed2841ebbecb6376f00bf190503ce5c694f9fa4.tar.gz
NorthstarMods-aed2841ebbecb6376f00bf190503ce5c694f9fa4.zip
fix modes being offset in private match
Diffstat (limited to 'Northstar.Client/mod')
-rw-r--r--Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut2
1 files changed, 1 insertions, 1 deletions
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 7252d3d5..bca14f05 100644
--- a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut
+++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut
@@ -113,7 +113,7 @@ void function InitServerBrowserMenu()
Hud_DialogList_AddListItem( Hud_GetChild( file.menu, "SwtBtnSelectMap" ) , map, string( enum_ ) )
- filterArguments.filterGamemodes = GetPrivateMatchModes()
+ filterArguments.filterGamemodes = clone GetPrivateMatchModes()
filterArguments.filterGamemodes.insert(0, "SWITCH_ANY")
// GetGameModeDisplayName( mode ) requires server talk even if it can be entirely client side