From e7bda055b8336cc2248bdb61d69b1ca4f79d63c6 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 4 Oct 2022 17:12:59 +0200 Subject: [PATCH] Hotfix weird trace show behaviour when cleared Signed-off-by: yoyosource --- .../bausystem/features/tracer/record/AutoTraceRecorder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/record/AutoTraceRecorder.java b/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/record/AutoTraceRecorder.java index c8e66bac..0ff1a171 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/record/AutoTraceRecorder.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/record/AutoTraceRecorder.java @@ -72,6 +72,7 @@ public abstract class AutoTraceRecorder implements TraceRecorder { @Override public Record postClear() { recordMap.clear(); + record = recordSupplier.get(); return record; }