This commit is contained in:
yuexin 2021-02-04 18:57:09 +08:00
commit 1a1c53e1c1

View File

@ -56,7 +56,8 @@ export default class AccountController extends BaseController {
accountid: account._id, accountid: account._id,
nickname: account.nickname, nickname: account.nickname,
avatar: account.avatar, avatar: account.avatar,
score: account.season_score score: account.season_score,
heros: [...account.heros.keys()]
} }
} }
@ -72,6 +73,9 @@ export default class AccountController extends BaseController {
if (gameing) { if (gameing) {
continue continue
} }
if (!datas[i].startsWith(BaseConst.ROBOT_PREFIX)) {
continue
}
if (!accountSet.has(datas[i]) ) { if (!accountSet.has(datas[i]) ) {
accountid = datas[i] accountid = datas[i]
targetScore = datas[i + 1] | 0 targetScore = datas[i + 1] | 0