ignore double submissions

This commit is contained in:
Daniel Bulant 2026-05-04 11:49:04 +02:00
parent 33b35e7735
commit 834db89c9e
No known key found for this signature in database

View file

@ -101,7 +101,9 @@ export class QuizWorkflow extends ConfiguredInstance {
} }
} }
break; break;
} }
if (receivedPlayers.has(response.playerId)) continue;
receivedPlayers.add(response.playerId); receivedPlayers.add(response.playerId);
const answeredAt = Date.now(); const answeredAt = Date.now();