CarlaGameModeBase: Block the LoadWorld when loading levels
This commit is contained in:
parent
5a3e1fdbb8
commit
b5f12907e7
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue