setイベントに次どっちのターンかの情報を含めた
This commit is contained in:
parent
f8fb30b792
commit
79b20a3729
|
@ -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) {
|
if (o.isEnded) {
|
||||||
publishOthelloGameStream(gameId, 'ended', {
|
publishOthelloGameStream(gameId, 'ended', {
|
||||||
|
|
Loading…
Reference in New Issue