抽奖活动房卡消耗统计问题

This commit is contained in:
sk 2024-11-14 17:39:35 +08:00
parent dfe093b03e
commit d0072d40b4
1 changed files with 3 additions and 1 deletions

View File

@ -176,7 +176,9 @@ func (spd *ScenePolicyData) CostPayment(s *Scene, snid int32) bool {
GameFreeId: int64(s.dbGameFree.GetId()),
RoomConfigId: roomConfig.GetId(),
})
LotteryMgrInst.AddCostRoomCard(p.Platform, p.SnId, int64(n))
if s.CustomParam.GetCostType() == 1 { // AA 是在游戏开始后扣的
LotteryMgrInst.AddCostRoomCard(p.Platform, p.SnId, int64(n))
}
})
}