0
0

setイベントに次どっちのターンかの情報を含めた

This commit is contained in:
syuilo 2018-03-09 22:30:02 +09:00
parent f8fb30b792
commit 79b20a3729

View File

@ -170,7 +170,9 @@ export default function(request: websocket.request, connection: websocket.connec
}
});
publishOthelloGameStream(gameId, 'set', log);
publishOthelloGameStream(gameId, 'set', Object.assign(log, {
next: o.turn
}));
if (o.isEnded) {
publishOthelloGameStream(gameId, 'ended', {