agregado filtro de eventos por sala en la que se realizaron

This commit is contained in:
2025-08-27 23:23:17 -06:00
parent ffd97646ab
commit 5321870336
4 changed files with 162 additions and 14 deletions

View File

@@ -828,7 +828,8 @@ async function sendPlayersActionsUpdate(client?: Response) {
detailedHistory.push({
kind,
round: (entry as any)?.round,
gameVariant: (entry as any)?.gameVariant || (entry as any)?.variant
gameVariant: (entry as any)?.gameVariant || (entry as any)?.variant,
roomId: (entry as any)?.roomId
});
}
const total = ACTION_EVENTS.reduce((acc, k) => acc + (counts[k] || 0), 0);