فهرست منبع

服装分解补充

huangxiaoyue 1 سال پیش
والد
کامیت
67f3e77aa2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/ClothingDecompose/ClothingDecomposeView.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/ClothingDecompose/ClothingDecomposeView.cs

@@ -388,7 +388,7 @@ namespace GFGGame
                 return;
             }
             long consumeCount = 0;
-            if (itemCfg.suitId > 0)
+            if (itemCfg != null && itemCfg.suitId > 0)
                 consumeCount = cfg.consumeCount * _decomposeCount;
             else 
                 consumeCount = cfg.consumeCount * _decoNormalCount;