diff --git a/Assets/ManagedResources/~Lua/Modules/GodWeapon/GodWeaponInfoPanel.lua b/Assets/ManagedResources/~Lua/Modules/GodWeapon/GodWeaponInfoPanel.lua index 3f5a1c3667..63ca4ad974 100644 --- a/Assets/ManagedResources/~Lua/Modules/GodWeapon/GodWeaponInfoPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/GodWeapon/GodWeaponInfoPanel.lua @@ -199,7 +199,9 @@ function this.ResetBtnOnClick() if matrs then for i = 1, #matrs do local mat=matrs[i] - table.insert(allMaterials,{mat[1],mat[2]}) + if mat[2]>0 then + table.insert(allMaterials,{mat[1],mat[2]}) + end end end end