mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
This commit is contained in:
parent
c8bacab417
commit
6c98b11c13
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue