JoshuaReason 5 years ago
parent
commit
77f1c8de8b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Assets/Scripts/Character.cs

+ 1
- 1
Assets/Scripts/Character.cs View File

@ -226,7 +226,7 @@ public class Character : MonoBehaviour
//Having found our target block, we move the character there //Having found our target block, we move the character there
if (respawnPosition != null) if (respawnPosition != null)
{ {
this.transform.position = respawnPosition.VisualPosition;
this.transform.position = new Vector3(respawnPosition.VisualPosition.x, 0.5f, respawnPosition.VisualPosition.z);
this.respawnNeeded = false; this.respawnNeeded = false;
this._currentBlock = respawnPosition; this._currentBlock = respawnPosition;
respawnPosition.CurrentPlayer = this; respawnPosition.CurrentPlayer = this;

Loading…
Cancel
Save