From 69f3c2bc4b0f5cd3eeadbabcd0b52b9863bb0d11 Mon Sep 17 00:00:00 2001 From: Andres Date: Tue, 6 May 2025 00:23:35 +0200 Subject: [PATCH] fix naming --- src/app/(home)/log-parser/page.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/(home)/log-parser/page.tsx b/src/app/(home)/log-parser/page.tsx index 287799d..b0c2628 100644 --- a/src/app/(home)/log-parser/page.tsx +++ b/src/app/(home)/log-parser/page.tsx @@ -453,7 +453,6 @@ export default function LogParser() { const cardRaw = cardMatch?.[1]?.trim() ?? 'Unknown Card' const cardClean = cardRaw.replace(/^(c_mp_|j_mp_)/, '') const cost = costMatch?.[1] ? Number.parseInt(costMatch[1], 10) : 0 - if (cost > 0) currentGame.moneySpent += cost currentGame.events.push({ timestamp, text: `Bought ${cardClean}${cost > 0 ? ` for $${cost}` : ''}`, @@ -465,7 +464,6 @@ export default function LogParser() { if (costMatch?.[1]) { const cost = Number.parseInt(costMatch[1], 10) if (!Number.isNaN(cost)) { - currentGame.moneySpent += cost currentGame.events.push({ timestamp, text: `Rerolled shop for $${cost}`,