Compare commits

...

2 Commits

Author SHA1 Message Date
sk 6153903f31 比赛场比赛中列表 2024-08-20 10:44:42 +08:00
sk 15d0d2be78 update public 2024-08-20 10:19:08 +08:00
2 changed files with 16 additions and 1 deletions

2
public

@ -1 +1 @@
Subproject commit 07c189d652b84910258fa33eb3214d39c53edec4
Subproject commit df942948ff721824a23f1f15f02a0fc84d0b52e9

View File

@ -220,6 +220,21 @@ func (this *Tournament) GetRemainPlayer(sortId int64) []*MatchPlayerInfo {
robotPlayer := func(n int) {
for _, v := range tm.robotGrades[n] {
if v.copySnid == 0 {
for _, vv := range tm.TmPlayer {
p := PlayerMgrSington.GetPlayerBySnId(vv.SnId)
if p != nil {
ret = append(ret, &MatchPlayerInfo{
SnId: vv.SnId,
RoleId: p.GetRoleId(),
SkinId: p.Skin.ModId,
Grade: v.grade,
})
}
break
}
continue
}
ret = append(ret, &MatchPlayerInfo{
SnId: v.copySnid,
RoleId: v.copyRoleId,