diff --git a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputData.cs b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputData.cs index fc354f0bc50188cb3114c999f675b56e192f5c0f..5e2803d0b85789fe2d20257f13b98933358bced9 100644 --- a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputData.cs +++ b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputData.cs @@ -1027,7 +1027,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON PrimaryInputDataFile = Path.Combine(BasePath, Body.GetEx<string>("PrimaryVehicleResults")); CompletedInputDataFile = Path.Combine(BasePath, Body.GetEx<string>("CompletedVehicle")); - RunSimulation = Body.GetEx<bool>(JsonKeys.BUS_RunSimulation); + RunSimulation = Body.ContainsKey(JsonKeys.BUS_RunSimulation) ? Body.GetEx<bool>(JsonKeys.BUS_RunSimulation) : true; //PrimaryVehicle = CreateReader(primaryInputData);