From 5cd264521710e442960486b7ae12753a6bce2a62 Mon Sep 17 00:00:00 2001 From: Whykioh Date: Mon, 2 Mar 2026 09:35:23 +0100 Subject: [PATCH] lmkmk --- poker-paf/game.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/poker-paf/game.php b/poker-paf/game.php index 476a0cb..5098459 100644 --- a/poker-paf/game.php +++ b/poker-paf/game.php @@ -468,9 +468,12 @@ $players[0]['is_dealer'] = 1; // Mettre à jour aussi dans la variable locale po } function GetCurrentBlind() { + let blinds = []; players.forEach(player => { - console.log(player) + blinds.push(player.blind); }); + current_blind = Math.max(...blinds); + console.log("Blind actuel recalculé :", current_blind); } GetCurrentBlind(); // Juste pour le debug, à supprimer après