Fixed speed limit component crash when waking up.
This commit is contained in:
parent
7986806204
commit
46fad26755
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue