Skip to content

Commit

Permalink
Fix mode selection menu locking all modes (#880)
Browse files Browse the repository at this point in the history
Invert previously incorrect logic in check to lock gamemode.
  • Loading branch information
Zanieon authored Sep 11, 2024
1 parent e8ffff5 commit 6437c5e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 6437c5e

Please sign in to comment.