Set turnStart on player, not session
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
446a581e94
commit
6f8dc0bf75
@ -1915,7 +1915,7 @@ const pass = (game, session) => {
|
||||
name: next.name,
|
||||
color: next.color
|
||||
};
|
||||
next.turnStart = Date.now();
|
||||
next.player.turnStart = Date.now();
|
||||
startTurnTimer(game, next);
|
||||
game.turns++;
|
||||
addActivity(game, session, `${name} passed their turn.`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user