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
Nur Änderungen aus Commit 5d2886c0a5 werden angezeigt - Alle Commits anzeigen

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)));
} }