From 54221054eb2ffa0c22f82b2f58fee094a9ab2049 Mon Sep 17 00:00:00 2001 From: Jan Date: Wed, 16 Sep 2020 19:21:56 +0200 Subject: [PATCH] Fix #11 --- Player.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Player.gd b/Player.gd index 4bb369b..1149138 100644 --- a/Player.gd +++ b/Player.gd @@ -75,7 +75,7 @@ remote func mouselook(rel): rotate_y(- rel.x * sensitivity) camera.rotation.x = clamp(camera.rotation.x-rel.y * sensitivity, -PI/2, PI/2) - rpc_unreliable("mouselook_abs", camera.rotation) + rpc_unreliable("mouselook_abs", camera.rotation.x, rotation.y) func motion(delta): var slide_velocity = move_and_slide(velocity * delta, Vector3.UP, true)