fix: ajout de protection anti-mauvais chargement de voix
This commit is contained in:
@@ -8,7 +8,7 @@ const INSTRUCTION_GUIDE = "instruction";
|
||||
const INSTRUCTION_INTERVAL_MS = 5000;
|
||||
|
||||
|
||||
function startInstructionLoop(wSS, socket, partnerSocket, pairState, getInstructionTexte) {
|
||||
function startInstructionLoop(wSS, socket, partnerSocket, pairState, getInstructionText) {
|
||||
const interval = setInterval(() => {
|
||||
if (pairState.gameOver) {
|
||||
clearInterval(interval);
|
||||
|
||||
Reference in New Issue
Block a user