diff --git a/src/api/stream/othello-game.ts b/src/api/stream/othello-game.ts index 53cda88b5..5c826e5b4 100644 --- a/src/api/stream/othello-game.ts +++ b/src/api/stream/othello-game.ts @@ -170,7 +170,9 @@ export default function(request: websocket.request, connection: websocket.connec } }); - publishOthelloGameStream(gameId, 'set', log); + publishOthelloGameStream(gameId, 'set', Object.assign(log, { + next: o.turn + })); if (o.isEnded) { publishOthelloGameStream(gameId, 'ended', {