super_space_game/scripts/exit_ship.gd

4 lines
103 B
GDScript

extends Sprite2D
func _interact() -> void:
get_tree().change_scene_to_file("res://scenes/game.tscn")