fix: correction d'erreurs de copie

This commit is contained in:
2026-08-02 23:27:55 +02:00
parent 45ad31d0ae
commit 4d57dfa233
5 changed files with 18 additions and 24 deletions

View File

@@ -11,7 +11,7 @@
const { correctDoor, startPosition } = require("./maze");
const { DOORS_TO_WIN } = require("./config");
fonction handleDoorReached(wSS, socket, position) {
function handleDoorReached(wSS, socket, position) {
const pairState = socket.data.pairState;
if(!pairState || pairState.gameOver) return; // partie deja terminee