Commit 35db3e75 authored by Tobias Meuser's avatar Tobias Meuser
Browse files

Fixed minor bug

parent 245cea17
...@@ -752,7 +752,7 @@ public class TraciSimulationController implements VehicleController, SimulationS ...@@ -752,7 +752,7 @@ public class TraciSimulationController implements VehicleController, SimulationS
_roadNetwork = new RoadNetwork(roadNetwork, this, true); _roadNetwork = new RoadNetwork(roadNetwork, this, true);
try { try {
if (TEMP_FILE.exists() || TEMP_FILE.getParentFile().mkdirs()) { if (TEMP_FILE.getParentFile().exists() || TEMP_FILE.getParentFile().mkdirs()) {
ObjectOutputStream outputStream = new ObjectOutputStream(new FileOutputStream(TEMP_FILE)); ObjectOutputStream outputStream = new ObjectOutputStream(new FileOutputStream(TEMP_FILE));
outputStream.writeObject(new SerializableRoadNetwork(_roadNetwork)); outputStream.writeObject(new SerializableRoadNetwork(_roadNetwork));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment