From 73ec9a40d3384272078e40d77720531bd42b521e Mon Sep 17 00:00:00 2001 From: Rickey Fehr Date: Wed, 8 Oct 2025 20:29:11 -0700 Subject: [PATCH] Fix softlock related to #163 --- source/game.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/game.c b/source/game.c index 49a6604..3f24dc7 100644 --- a/source/game.c +++ b/source/game.c @@ -1214,8 +1214,7 @@ static void game_playing_process_hand_select_input() discard_button_highlighted = true; // Discard button } } - - if (selection_y == 1) // On row of play/discard buttons + else if (selection_y == 1) // On row of play/discard buttons { if (discard_button_highlighted == false) // Play button logic { @@ -1246,8 +1245,7 @@ static void game_playing_process_hand_select_input() } } } - - if (selection_y == 0) // On row of cards + else if (selection_y == 0) // On row of cards { memcpy16(&pal_bg_mem[1], &pal_bg_mem[7], 1); // Play button highlight color memcpy16(&pal_bg_mem[9], &pal_bg_mem[12], 1); // Discard button highlight color