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

7 lines
155 B
GDScript

extends TextureButton
func _on_PlayButton_pressed():
GameStats.restart_level()
disabled = true
get_tree().paused = false
get_parent().visible = false