1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-04-03 21:49:30 -05:00

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', {