fix lives when not allowed

This commit is contained in:
Haze Weathers 2023-12-31 00:36:53 -05:00
parent efc5826935
commit 18d8abf6f3

View file

@ -17,6 +17,8 @@ func _ready() -> void:
func _process(delta: float) -> void:
if not has_focus():
return
if Input.is_action_pressed("ui_left"):
if cooldown <= 0.0:
cooldown = delay