xushiting 3 rokov pred
rodič
commit
1b8535f469
2 zmenil súbory, kde vykonal 2468 pridanie a 1 odobranie
  1. 2466 1
      dist/assets/config.json
  2. 2 0
      src/XAvatarManager.js

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 2466 - 1
dist/assets/config.json


+ 2 - 0
src/XAvatarManager.js

@@ -165,6 +165,8 @@ export default class XAvatarManager {
         this.characterMap.set(5, new Map)
     }
     loadAvatar({id: e, avatarType: t, priority: r, avatarManager: n, assets: o, status: a}) {
+        // zeg 获得数据为3,现手动修正为0
+        r = 0;
         return new Promise((s,l)=>{
             if (this.getAvatarById(e))
                 return l(new DuplicateAvatarIDError(`[Engine] cannot init avatar with the same id = ${e}`));