summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/api/stream/othello-game.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/stream/othello-game.ts b/src/api/stream/othello-game.ts
index e2ecce38ea..87d26e2419 100644
--- a/src/api/stream/othello-game.ts
+++ b/src/api/stream/othello-game.ts
@@ -232,7 +232,8 @@ export default function(request: websocket.request, connection: websocket.connec
});
publishOthelloGameStream(gameId, 'ended', {
- winner_id: winner
+ winner_id: winner,
+ game: await pack(gameId, user)
});
}
//#endregion