the_tower/game/player/Exit.gd

5 lines
52 B
GDScript

extends Button
func _pressed():
get_tree().quit()