aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod/scripts/vscripts/ui
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 /Northstar.Client/mod/scripts/vscripts/ui
parentff90171e6ad2ef660a80d02b5c68a06f94e7ad05 (diff)
downloadNorthstarMods-9181e52e0af606986af3c733ad78360f16a40be8.tar.gz
NorthstarMods-9181e52e0af606986af3c733ad78360f16a40be8.zip
Fix serverbrowser filtering by gamemode (#639)v1.14.1-rc1v1.14.1
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts/ui')
-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