From 0678cf8edcbd5c2c7ea0f2576cb7867417e81217 Mon Sep 17 00:00:00 2001 From: wanghaomai Date: Wed, 25 Feb 2026 16:09:58 +0800 Subject: [PATCH] =?UTF-8?q?maj=E5=85=81=E8=AE=B8=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E7=8E=A9=E5=AE=B6=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database/database.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/database/database.go b/database/database.go index cb1061a..8fbaca2 100644 --- a/database/database.go +++ b/database/database.go @@ -190,8 +190,9 @@ func getAllowedPropsByGameType(gameType int) map[string]bool { consts.RoomPropsShowIP: true, } case consts.GameTypeUno, consts.GameTypeMahjong: - // 对于Uno和麻将,只允许设置显示IP + // 对于Uno和麻将,允许设置玩家数量和显示IP return map[string]bool{ + consts.RoomPropsPlayerNum: true, consts.RoomPropsShowIP: true, } case consts.GameTypeTexas: