From 70761cdbeb0065595e9d7a38887ccabda5105ebb Mon Sep 17 00:00:00 2001 From: Whykioh Date: Mon, 2 Mar 2026 09:05:51 +0100 Subject: [PATCH] Fix load issue --- poker-paf/game.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/poker-paf/game.php b/poker-paf/game.php index e2817ea..4cd686e 100644 --- a/poker-paf/game.php +++ b/poker-paf/game.php @@ -140,16 +140,17 @@ $players[0]['is_dealer'] = 1; // Mettre à jour aussi dans la variable locale po // On charge les données une première fois window.onload = () => { UpdateLabels(); - - players.push({ - id: , - money: , - blind: , - isDealer: - }); - }; + + players.push({ + id: , + money: , + blind: , + isDealer: + }); + + // On regarde si le joueur est le dealer players.forEach(player => { if (dealerFound){