From 02d70e9a6df51197a2d9893024ad1fc5f17cec0f Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Mon, 1 Sep 2025 05:04:17 +0200 Subject: [PATCH] unit: Fixed a crash when exiting the select menu This crash was caused by the player state being set incorrectly. --- src/unit.s | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/unit.s b/src/unit.s index 1561458..9e315b8 100644 --- a/src/unit.s +++ b/src/unit.s @@ -306,9 +306,7 @@ unit_handle_inputs: ld b, BTNSELECT input_just jr z, @notselect REL - pop bc call action_menu_init - push bc ; bc = next state @notselect: ld b, BTNUP -- 2.30.2