From 43a2c3ea7c56ebccd1d90fe6ca193c6decb76909 Mon Sep 17 00:00:00 2001 From: Zutatensuppe Date: Sun, 2 May 2021 20:15:33 +0200 Subject: [PATCH] fix replay timerstr --- public/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/game.js b/public/game.js index f598d19..c7b5521 100644 --- a/public/game.js +++ b/public/game.js @@ -537,7 +537,7 @@ async function main() { Game.setGame(gameObject.id, gameObject) REPLAY.log = log REPLAY.lastRealTs = Time.timestamp() - REPLAY.gameStartTs = REPLAY.log[0][REPLAY.log[0].length - 1] + REPLAY.gameStartTs = REPLAY.log[0][REPLAY.log[0].length - 2] REPLAY.lastGameTs = REPLAY.gameStartTs TIME = () => REPLAY.lastGameTs } else {