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:
parent
4183a69f07
commit
8285e1cdd7
|
@ -158,7 +158,7 @@ void UCarlaSettingsDelegate::CheckCarlaSettings(UWorld *world)
|
|||
{
|
||||
return;
|
||||
}
|
||||
if (world == nullptr || !IsValid(world) )
|
||||
if (!IsValid(world))
|
||||
{
|
||||
world = GetLocalWorld();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue