This repository has been archived on 2023-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
Boups/Scenes/Scripts/GameOver.gd

6 lines
124 B
GDScript3
Raw Normal View History

extends Node2D
func _on_RestartButton_pressed() -> void:
assert(get_tree().change_scene("res://Scenes/Menu.tscn") == OK)