SteamWar/BauSystem2.0
Archiviert
12
0

Fix trace is added two times to manager #235

Zusammengeführt
YoyoNow hat 1 Commits von trace-2times-in-manager-bug nach master 2024-04-22 17:28:23 +02:00 zusammengeführt

Datei anzeigen

@ -53,7 +53,6 @@ public class TraceRecordingWrapper {
recordList = new ArrayList<>(); recordList = new ArrayList<>();
trace = new Trace(region, recordList); trace = new Trace(region, recordList);
TraceManager.instance.add(trace);
File recordsSaveFile = new File(TraceManager.tracesFolder, trace.getUuid() + ".records"); File recordsSaveFile = new File(TraceManager.tracesFolder, trace.getUuid() + ".records");
recordsOutputStream = new ObjectOutputStream(new GZIPOutputStream(new FileOutputStream(recordsSaveFile))); recordsOutputStream = new ObjectOutputStream(new GZIPOutputStream(new FileOutputStream(recordsSaveFile)));
} }