diff --git a/src/app/(home)/log-parser/page.tsx b/src/app/(home)/log-parser/page.tsx index 37c83fd..6e98b82 100644 --- a/src/app/(home)/log-parser/page.tsx +++ b/src/app/(home)/log-parser/page.tsx @@ -376,6 +376,15 @@ export default function LogParser() { } continue } + if ( + line.includes('Client got soldJoker message: (action: soldJoker)') + ) { + currentGame.events.push({ + timestamp, + text: 'Opponent sold a joker', + type: 'shop', + }) + } // This message indicates opponent's spending report if (line.includes(' Client got spentLastShop message')) { const match = line.match(/amount: (\d+)/)