diff options
author | William Miller <william-millennium@hotmail.com> | 2024-09-11 19:24:26 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-12 00:24:26 +0200 |
commit | 6437c5eef53e921613946f309f51ac441e08bdf0 (patch) | |
tree | 657f4dcd62e2a185ad89c8394b2034547daf03d7 /Northstar.Client | |
parent | e8ffff54bb150c73622bfd3cca0a11b024e3a44b (diff) | |
download | NorthstarMods-1.28.1-rc1.tar.gz NorthstarMods-1.28.1-rc1.zip |
Fix mode selection menu locking all modes (#880)v1.28.1-rc1v1.28.1
Invert previously incorrect logic in check to lock gamemode.
Diffstat (limited to 'Northstar.Client')
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/ui/menu_mode_select.nut | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |