stuff
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# scripts/game.gd — autoloaded as "Game"
|
||||
extends Node
|
||||
|
||||
func _unhandled_input(event: InputEvent) -> void:
|
||||
if event.is_action_pressed("restart"):
|
||||
get_tree().reload_current_scene()
|
||||
Reference in New Issue
Block a user