|
@ -190,7 +190,9 @@ public class RacetrackGameMode : GameMode |
|
|
//Debug.Log("Respawn location = " + respawnBlock.transform.position);
|
|
|
//Debug.Log("Respawn location = " + respawnBlock.transform.position);
|
|
|
player.character.respawnCharacter(respawnBlock); |
|
|
player.character.respawnCharacter(respawnBlock); |
|
|
|
|
|
|
|
|
respawnBlocks.Remove(respawnBlock); //Then we remove it from the list for the next player
|
|
|
|
|
|
|
|
|
respawnBlocks.RemoveAt(respawnIndex); //Then we remove it from the list for the next player
|
|
|
|
|
|
|
|
|
|
|
|
//respawnBlocks.Remove(respawnBlock); //Then we remove it from the list for the next player
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|