feat: 修复重开指令为 nck

main
NorthLan 2 years ago
parent c5ca906623
commit a1acdf96cb

Binary file not shown.

@ -200,7 +200,7 @@ func (h *ZhgmangGameLogic) handleMockGift(liveRoom *LiveRoom, _ string, content
}
logger.SLog.Debugf("用户 [%s] gift [%s] count [%d]", user.Username, giftType, count)
// 禁止 c w s n j
// 禁止 w s n j
switch giftType {
case "lt":
h.goldSpeedUp(room, user, float64(count)*0.1)
@ -210,7 +210,7 @@ func (h *ZhgmangGameLogic) handleMockGift(liveRoom *LiveRoom, _ string, content
h.randomAddon(room, user, int(count))
case "hb":
h.redPackAddon(room, user, int(count))
case "重开":
case "ck":
room.Broadcast(pb.PushZhgmangGameOver, &pbGameZhgMang.GameOver{
User: user,
Team: int32(count),

Loading…
Cancel
Save