From: Geoffrey Allott Date: Wed, 24 May 2023 21:26:51 +0000 (+0100) Subject: s/Bets 0/Checks X-Git-Url: https://git.pointlesshacks.com/?a=commitdiff_plain;h=99e4a1f7d67888d34b37ac4576764227da1ae433;p=pokerwave.git s/Bets 0/Checks --- diff --git a/site/modules/chatroom.js b/site/modules/chatroom.js index a111e1f..c9f7299 100644 --- a/site/modules/chatroom.js +++ b/site/modules/chatroom.js @@ -68,7 +68,8 @@ export class Chatroom { } break; case "Bet": - this.chat.append(this.info_element(user_action.username, "Bets " + user_action.action.chips)); + const text = user_action.action.chips === 0 ? "Checks" : "Bets " + user_action.action.chips; + this.chat.append(this.info_element(user_action.username, text)); break; case "Fold": this.chat.append(this.info_element(user_action.username, "Folds"));