From c6847dd53869bd32a6133b942716a04d757844c0 Mon Sep 17 00:00:00 2001 From: Whykioh Date: Mon, 2 Mar 2026 09:44:53 +0100 Subject: [PATCH] La plus grosse --- poker-paf/game.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/poker-paf/game.php b/poker-paf/game.php index ca49625..f261c23 100644 --- a/poker-paf/game.php +++ b/poker-paf/game.php @@ -468,9 +468,11 @@ $players[0]['is_dealer'] = 1; // Mettre à jour aussi dans la variable locale po function GetCurrentBlind() { let blinds = []; - players.forEach(player => { - blinds.push(player.blind); - }); + + blinds.push( + blind: , + ); + current_blind = Math.max(...blinds); console.log("Blind actuel recalculé :", current_blind); }