From ef014bdd07b6ec72a846bdc1ada27045e6f0d435 Mon Sep 17 00:00:00 2001 From: Dendy Faist Date: Thu, 5 Mar 2026 13:17:23 +0100 Subject: [PATCH] feat: Ignore input when gameover screen is showing --- player.gd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/player.gd b/player.gd index 8c8a28b..63a9aee 100644 --- a/player.gd +++ b/player.gd @@ -22,6 +22,10 @@ func _ready() -> void: $HUD.visible = true func _process(delta: float) -> void: + # On fail screen, ignore further input + if $FailControl.visible: + return + $HUD/StaminaLabel.text = str(int(stamina)) var time_left = int($TimeLimit.time_left)