This commit is contained in:
syuilo 2018-03-09 22:06:16 +09:00
parent c8bacab417
commit 6c98b11c13

View file

@ -171,5 +171,11 @@ export default function(request: websocket.request, connection: websocket.connec
});
publishOthelloGameStream(gameId, 'set', log);
if (o.isEnded) {
publishOthelloGameStream(gameId, 'ended', {
winner_id: winner
});
}
}
}