This commit is contained in:
syuilo 2024-01-20 09:56:13 +09:00
parent 91522381b6
commit bc7b2f1876

View file

@ -370,7 +370,7 @@ export class ReversiService implements OnApplicationShutdown, OnModuleInit {
if (o.isEnded) {
this.globalEventService.publishReversiGameStream(game.id, 'ended', {
winnerId: winner,
winnerId: winner ?? null,
game: await this.reversiGameEntityService.packDetail(game.id, user),
});
}