mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 03:53:08 +02:00
setイベントに次どっちのターンかの情報を含めた
This commit is contained in:
parent
f8fb30b792
commit
79b20a3729
1 changed files with 3 additions and 1 deletions
|
@ -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', {
|
||||
|
|
Loading…
Reference in a new issue