CarlaGameModeBase: Block the LoadWorld when loading levels

This commit is contained in:
Daniel Santos-Olivan 2020-12-15 17:03:10 +01:00 committed by bernat
parent 5a3e1fdbb8
commit b5f12907e7
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ void ACarlaGameModeBase::LoadMapLayer(int32 MapLayers)
for(FName& LevelName : LevelsToLoad)
{
UGameplayStatics::LoadStreamLevel(World, LevelName, true, false, LatentInfo);
UGameplayStatics::LoadStreamLevel(World, LevelName, true, true, LatentInfo);
LatentInfo.UUID++;
}