Update Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Settings/CarlaSettingsDelegate.cpp

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
This commit is contained in:
Blyron 2024-04-11 14:55:37 +02:00 committed by Xavier Solé Nogués
parent fbc7751a73
commit a89f2d5d60
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ void UCarlaSettingsDelegate::SetAllRoads(
return;
}
AsyncTask(ENamedThreads::GameThread, [=]() {
if (!world || !IsValid(world) )
if (!world || !IsValid(world))
{
return;
}