diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-13 04:06:14 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-13 04:06:14 +0900 |
| commit | 88a06dfff7426f7a7c7dce335adbe9c6b5a8b85f (patch) | |
| tree | 10c20893e108a73ea958025be27e860aa5267ba7 /src/api | |
| parent | :v: (diff) | |
| download | sharkey-88a06dfff7426f7a7c7dce335adbe9c6b5a8b85f.tar.gz sharkey-88a06dfff7426f7a7c7dce335adbe9c6b5a8b85f.tar.bz2 sharkey-88a06dfff7426f7a7c7dce335adbe9c6b5a8b85f.zip | |
oops
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/stream/othello-game.ts | 3 |
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) }); } } |