First_Person_Slapper/Test_Scene.gd

7 lines
131 B
GDScript3
Raw Normal View History

2022-10-11 21:21:27 -04:00
extends Spatial
func _physics_process(delta):
if Input.is_action_just_pressed("reset_map"):
get_tree().reload_current_scene()