From cbe7769e2b0e0c385174e5536c8b011872b16a7e Mon Sep 17 00:00:00 2001 From: excitedneon Date: Tue, 9 May 2017 13:32:39 +0300 Subject: [PATCH] Fix small but breaking bug from last commit --- Assets/Scripts/Entities/Character.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Entities/Character.cs b/Assets/Scripts/Entities/Character.cs index 716a59b..d98d470 100644 --- a/Assets/Scripts/Entities/Character.cs +++ b/Assets/Scripts/Entities/Character.cs @@ -71,7 +71,7 @@ namespace Cyber.Entities { /// /// The rotation. public Vector3 GetRotation() { - Vector3 Rotation = new Vector3(Head.localEulerAngles.x, + return new Vector3(Head.localEulerAngles.x, transform.localEulerAngles.y, Head.localEulerAngles.z); }