summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-11 17:26:07 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-11 17:26:07 +0900
commit04cc63ac64cc091a0b06befc6c6c1b8201c8a254 (patch)
tree28a9593dade81f64824a2b392b4c02e7597f8796
parent#1230 (diff)
downloadsharkey-04cc63ac64cc091a0b06befc6c6c1b8201c8a254.tar.gz
sharkey-04cc63ac64cc091a0b06befc6c6c1b8201c8a254.tar.bz2
sharkey-04cc63ac64cc091a0b06befc6c6c1b8201c8a254.zip
#1231
-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