Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion database/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down