Remove unnecessary command line argument

This commit is contained in:
nsubiron 2017-09-22 17:54:55 +02:00
parent 4c56b9a3c6
commit ef82867b45
1 changed files with 0 additions and 5 deletions

View File

@ -157,11 +157,6 @@ void UCarlaSettings::LoadSettings()
WorldPort = Value;
bUseNetworking = true;
}
if (FParse::Param(FCommandLine::Get(), TEXT("carla-sync-mode")) ||
FParse::Param(FCommandLine::Get(), TEXT("carla-synchronous-mode"))) {
bSynchronousMode = true;
bUseNetworking = true;
}
if (FParse::Param(FCommandLine::Get(), TEXT("carla-no-networking"))) {
bUseNetworking = false;
}