diff --git a/gamesrv/tienlen/scenepolicy_tienlen.go b/gamesrv/tienlen/scenepolicy_tienlen.go index cc47b8e..cf2d3f1 100644 --- a/gamesrv/tienlen/scenepolicy_tienlen.go +++ b/gamesrv/tienlen/scenepolicy_tienlen.go @@ -970,6 +970,10 @@ func (this *SceneHandCardStateTienLen) OnEnter(s *base.Scene) { playerEx.robotGameTimes-- sceneEx.robotGamingNum++ } + if _, ok := sceneEx.BilledList[playerEx.SnId]; !ok { + arr := make([]*BilledInfo, 0) + sceneEx.BilledList[playerEx.SnId] = &arr + } } } } diff --git a/worldsrv/action_player.go b/worldsrv/action_player.go index 6872db0..2cf349a 100644 --- a/worldsrv/action_player.go +++ b/worldsrv/action_player.go @@ -2663,7 +2663,7 @@ func CSBindTel(s *netlib.Session, packetId int, data interface{}, sid int64) err Platform: p.Platform, SnId: p.SnId, InviteSnId: p.InviterId, - Tp: common.InviteScoreTypeBind, + Tp: common.InviteScoreTypeBindTel, Score: cfg.GetBindTelScore(), Ts: time.Now().Unix(), Money: 0,