修复绑定手机积分和竞技馆对局记录

This commit is contained in:
sk 2024-09-20 10:23:01 +08:00
parent 0e84e74049
commit 2b0f7b1e28
2 changed files with 5 additions and 1 deletions

View File

@ -970,6 +970,10 @@ func (this *SceneHandCardStateTienLen) OnEnter(s *base.Scene) {
playerEx.robotGameTimes-- playerEx.robotGameTimes--
sceneEx.robotGamingNum++ sceneEx.robotGamingNum++
} }
if _, ok := sceneEx.BilledList[playerEx.SnId]; !ok {
arr := make([]*BilledInfo, 0)
sceneEx.BilledList[playerEx.SnId] = &arr
}
} }
} }
} }

View File

@ -2663,7 +2663,7 @@ func CSBindTel(s *netlib.Session, packetId int, data interface{}, sid int64) err
Platform: p.Platform, Platform: p.Platform,
SnId: p.SnId, SnId: p.SnId,
InviteSnId: p.InviterId, InviteSnId: p.InviterId,
Tp: common.InviteScoreTypeBind, Tp: common.InviteScoreTypeBindTel,
Score: cfg.GetBindTelScore(), Score: cfg.GetBindTelScore(),
Ts: time.Now().Unix(), Ts: time.Now().Unix(),
Money: 0, Money: 0,