|
@ -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; |
|
|