Merge branch 'feature/skin' into dev

This commit is contained in:
xichaoyin 2024-01-11 22:36:48 +08:00
commit 06cefdeb53

View File

@ -654,12 +654,12 @@ export class PlayerFun {
} }
} }
if (Object.keys(upskin).length > 0) { if (Object.keys(upskin).length > 0) {
this.addAttr(call, { heroskin: Object.assign(heroskin, upskin) }); await this.addAttr(call, { heroskin: Object.assign(heroskin, upskin) });
} }
// 皮肤存在转换为其他奖励 // 皮肤存在转换为其他奖励
if (prize.length > 0) { if (prize.length > 0) {
this.sendPrize(call, prize); await this.sendPrize(call, prize);
} }
} }