diff --git a/scripts/SpectatorControls.gd b/scripts/SpectatorControls.gd index 08ea335..d51887e 100644 --- a/scripts/SpectatorControls.gd +++ b/scripts/SpectatorControls.gd @@ -7,6 +7,7 @@ var walk = 2 func _ready(): camera.make_current() + Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) func _unhandled_input(event): if Input.is_action_pressed("MWU"): @@ -29,7 +30,6 @@ func _physics_process(delta): var velocity = Vector3.ZERO var speed - if Input.is_action_pressed("run"): speed = walk * 2 else: