Fixed speed limit component crash when waking up.

This commit is contained in:
Axel 2021-06-22 10:24:41 +02:00 committed by bernat
parent 7986806204
commit 46fad26755
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ AActor* FTrafficSignData::RespawnActor(UCarlaEpisode* CarlaEpisode, const FActor
FActorSpawnParameters SpawnParams;
SpawnParams.SpawnCollisionHandlingOverride =
ESpawnActorCollisionHandlingMethod::AlwaysSpawn;
return CarlaEpisode->GetWorld()->SpawnActor<ATrafficLightBase>(
return CarlaEpisode->GetWorld()->SpawnActor<ATrafficSignBase>(
Model,
SpawnTransform,
SpawnParams);