Skip to content

Commit

Permalink
fix(elocamp): fix incorrect entry purge indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
p2r3 committed Oct 17, 2024
1 parent f802195 commit ccd0a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/weeklog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ccd0a16

Please sign in to comment.