Merge branch 'nestor' into xisco

This commit is contained in:
nsubiron 2017-03-24 19:11:38 +01:00
commit 30a109e3ec
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ void ACarlaGameMode::RestartPlayer(AController* NewPlayer)
check(GameController != nullptr);
APlayerStart *StartSpot = GameController->ChoosePlayerStart(UnOccupiedStartPoints);
if (StartSpot != nullptr) {
RestartPlayerAtPlayerStart(NewPlayer, UnOccupiedStartPoints[0u]);
RestartPlayerAtPlayerStart(NewPlayer, StartSpot);
RegisterPlayer(*NewPlayer);
return;
}