From ccd0a16075e91549111756d964b2f5b60cd40963 Mon Sep 17 00:00:00 2001 From: p2r3 Date: Thu, 17 Oct 2024 16:08:24 +0000 Subject: [PATCH] fix(elocamp): fix incorrect entry purge indicator --- util/weeklog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/weeklog.js b/util/weeklog.js index f097251..8f97f91 100644 --- a/util/weeklog.js +++ b/util/weeklog.js @@ -53,7 +53,7 @@ function parseLog (buffer, categoryList, forcePurge = false) { if (entry.time === 0) { // the portal count byte denotes whether to purge the run from the output entirely - const purge = entry.portals === 0; + const purge = entry.portals === 1; // if we're not purging, just ignore this marker and do nothing if (!forcePurge && !purge) continue;