diff --git a/TableturfBattleClient/src/Pages/GamePage.ts b/TableturfBattleClient/src/Pages/GamePage.ts index 2217c39..8d9bd09 100644 --- a/TableturfBattleClient/src/Pages/GamePage.ts +++ b/TableturfBattleClient/src/Pages/GamePage.ts @@ -676,6 +676,7 @@ function showResult() { el.classList.remove('lose'); el.classList.remove('draw'); el.innerText = 'Victory'; + if (currentReplay) currentGame.players[i].gamesWon++; playerBars[i].winCounter.wins++; } else { el.classList.remove('win');