初始:初始账号bug

This commit is contained in:
luying
2021-09-03 15:29:21 +08:00
parent 7a8145a658
commit a59735cd2e
5 changed files with 36 additions and 42 deletions
@@ -39,9 +39,15 @@ export class RoleRemote {
}
public getInitRoleInfos() {
let initInfos = [];
for(let hid of DEFAULT_HEROES) {
initInfos.push({
heroInfo: this.initHeroes.get(hid),
skinInfo: this.initSkins.get(hid)
});
}
return {
heroes: this.getInitHeroes(),
skins: this.getInitSkins(),
initInfos,
role: this.initRole,
figureInfo: this.figureInfo
};