mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-01 16:28:12 +09:00
This commit is contained in:
parent
7f570eb1e7
commit
601d9cdbdf
@ -171,5 +171,11 @@ export default function(request: websocket.request, connection: websocket.connec
|
|||||||
});
|
});
|
||||||
|
|
||||||
publishOthelloGameStream(gameId, 'set', log);
|
publishOthelloGameStream(gameId, 'set', log);
|
||||||
|
|
||||||
|
if (o.isEnded) {
|
||||||
|
publishOthelloGameStream(gameId, 'ended', {
|
||||||
|
winner_id: winner
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user