pegchamp/Menu/Buttons/RestartButton.gd
2021-09-28 17:55:03 +02:00

8 lines
105 B
GDScript

extends TextureButton
func _on_RestartButton_pressed():
GameStats.restart_level()
disabled = true