Skip to content

Commit

Permalink
fix: remove saveGameToFile
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinegreuzard committed Oct 31, 2024
1 parent 8df52fb commit 9f9a1f3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ export async function initializeGame(playerColor: PieceColor) {
replayButton.style.display = 'block';
if (whiteTimer.isRunning) whiteTimer.stop();
if (blackTimer.isRunning) blackTimer.stop();

// Appel de la fonction de sauvegarde
game.saveGameToFile();
}

function clearMessage() {
Expand Down

0 comments on commit 9f9a1f3

Please sign in to comment.