aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2023-05-04 22:32:48 +0100
committerGitHub <noreply@github.com>2023-05-04 23:32:48 +0200
commit9181e52e0af606986af3c733ad78360f16a40be8 (patch)
tree6e86d994f65417f1dbe74f15f678684d2ffa8a3d
parentff90171e6ad2ef660a80d02b5c68a06f94e7ad05 (diff)
downloadNorthstarMods-1.14.1.tar.gz
NorthstarMods-1.14.1.zip
Fix serverbrowser filtering by gamemode (#639)v1.14.1-rc1v1.14.1
-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 c31185ee..7ea8134a 100644
--- a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut
+++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut
@@ -771,7 +771,7 @@ void function FilterServerList()
if ( filterArguments.filterMap != "SWITCH_ANY" && filterArguments.filterMap != server.map )
continue;
- if ( filterArguments.filterGamemode != "SWITCH_ANY" && filterArguments.filterGamemode != server.playlist )
+ if ( filterArguments.filterGamemode != "SWITCH_ANY" && filterArguments.filterGamemode != GetGameModeDisplayName(server.playlist) )
continue;
// Search