From 6437c5eef53e921613946f309f51ac441e08bdf0 Mon Sep 17 00:00:00 2001 From: William Miller Date: Wed, 11 Sep 2024 19:24:26 -0300 Subject: Fix mode selection menu locking all modes (#880) Invert previously incorrect logic in check to lock gamemode. --- Northstar.Client/mod/scripts/vscripts/ui/menu_mode_select.nut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Northstar.Client/mod/scripts/vscripts/ui') diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_mode_select.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_mode_select.nut index 6cddee2a..109eed12 100644 --- a/Northstar.Client/mod/scripts/vscripts/ui/menu_mode_select.nut +++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_mode_select.nut @@ -524,7 +524,7 @@ void function UpdateVisibleModes() if( blockedModes.contains( file.sortedModes[ modeIndex ] ) ) Hud_SetLocked( button, true ) - if ( !PrivateMatch_IsValidMapModeCombo( PrivateMatch_GetSelectedMap(), mode ) ) + if ( PrivateMatch_IsValidMapModeCombo( PrivateMatch_GetSelectedMap(), mode ) ) { Hud_SetLocked( button, true ) SetButtonRuiText( button, mode ) -- cgit v1.2.3