From: Lukas Krickl Date: Mon, 1 Sep 2025 03:04:17 +0000 (+0200) Subject: unit: Fixed a crash when exiting the select menu X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=02d70e9a6df51197a2d9893024ad1fc5f17cec0f;p=gbrg%2F.git unit: Fixed a crash when exiting the select menu This crash was caused by the player state being set incorrectly. --- 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