Hsif/Scripts/Win.gd

7 lines
180 B
GDScript

extends Sprite2D
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
if Input.is_action_just_pressed("Accept"):
get_tree().quit()