shawenguan před 1 rokem
rodič
revize
3f503685a6
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      Scripts/hbcpre/hbcpreComposite.js

+ 2 - 1
Scripts/hbcpre/hbcpreComposite.js

@@ -86,7 +86,8 @@ async function tryComposite() {
         // 固定材料
         let needList = activityData.needList;
         // 个人拥有材料列表
-        let ownList = checkHandleMyOwnList(activityData.ownList);
+        let ownList = activityData.ownList;
+        let ownList = checkHandleMyOwnList(activityData.ownList, needList);
         let isEnough = true;
         for (let i = 0; i < ownList.length; i++) {
             let iData = ownList[i];