diary/user_interface/settings_menu/debug_settings/restart.gd

7 lines
127 B
GDScript3
Raw Normal View History

2022-06-05 14:22:08 +02:00
extends Control
func _on_RestartButton_pressed():
# warning-ignore:return_value_discarded
get_tree().reload_current_scene()