Compare commits

..

2 Commits

Author SHA1 Message Date
sk 00d4f328c7 Merge branch 'develop' into release 2024-11-14 17:39:52 +08:00
sk d0072d40b4 抽奖活动房卡消耗统计问题 2024-11-14 17:39:35 +08:00
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))
}
})
}