summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-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 368baa2cb6..ba0f11252f 100644
--- a/src/api/stream/othello-game.ts
+++ b/src/api/stream/othello-game.ts
@@ -307,7 +307,8 @@ export default function(request: websocket.request, connection: websocket.connec
if (o.isEnded) {
publishOthelloGameStream(gameId, 'ended', {
- winner_id: winner
+ winner_id: winner,
+ game: await pack(gameId, user)
});
}
}