Fixed TrafficLight name

This commit is contained in:
Marc Garcia Puig 2020-08-26 12:49:13 +02:00
parent 3918ce2d6d
commit 36ba6216c9
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ ATrafficLightManager::ATrafficLightManager()
}
// Default traffic signs models
static ConstructorHelpers::FClassFinder<AActor> StopFinder(
TEXT( "/Game/Carla/Static/TrafficSigns/BP_Stop" ) );
TEXT( "/Game/Carla/Static/TrafficSign/BP_Stop" ) );
if (StopFinder.Succeeded())
{
TSubclassOf<AActor> StopSignModel = StopFinder.Class;
@ -41,7 +41,7 @@ ATrafficLightManager::ATrafficLightManager()
SignComponentModels.Add(carla::road::SignalType::StopSign().c_str(), UStopSignComponent::StaticClass());
}
static ConstructorHelpers::FClassFinder<AActor> YieldFinder(
TEXT( "/Game/Carla/Static/TrafficSigns/BP_Yield" ) );
TEXT( "/Game/Carla/Static/TrafficSign/BP_Yield" ) );
if (YieldFinder.Succeeded())
{
TSubclassOf<AActor> YieldSignModel = YieldFinder.Class;