Fix small but breaking bug from last commit

This commit is contained in:
excitedneon 2017-05-09 13:32:39 +03:00
parent 7a4a380f1a
commit cbe7769e2b

View File

@ -71,7 +71,7 @@ namespace Cyber.Entities {
/// </summary>
/// <returns>The rotation.</returns>
public Vector3 GetRotation() {
Vector3 Rotation = new Vector3(Head.localEulerAngles.x,
return new Vector3(Head.localEulerAngles.x,
transform.localEulerAngles.y, Head.localEulerAngles.z);
}