|
@@ -17,5 +17,5 @@ func _process(delta):
|
|
|
|
|
|
|
|
|
|
func _unhandled_key_input(event: InputEvent):
|
|
func _unhandled_key_input(event: InputEvent):
|
|
- if event.is_action("ui_accept"):
|
|
|
|
- emit_signal("finished")
|
|
|
|
|
|
+ if event.is_action("ui_accept") and event.is_pressed():
|
|
|
|
+ finished.emit()
|