From 28a3902daf3e5a0d101d981d5719e95a7171d88f Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期日, 17 五月 2026 17:20:07 +0800
Subject: [PATCH] 597 时装特卖 防报错
---
Main/System/HeroSkinFlashSale/HeroSkinFlashSaleCell.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Main/System/HeroSkinFlashSale/HeroSkinFlashSaleCell.cs b/Main/System/HeroSkinFlashSale/HeroSkinFlashSaleCell.cs
index e6eb72d..5170a6b 100644
--- a/Main/System/HeroSkinFlashSale/HeroSkinFlashSaleCell.cs
+++ b/Main/System/HeroSkinFlashSale/HeroSkinFlashSaleCell.cs
@@ -20,7 +20,7 @@
if (config == null) return;
var list = manager.GetSkinIDList(act.CfgID);
- if (list == null) return;
+ if (list.IsNullOrEmpty()) return;
int skinID = list[0];
var skinConfig = HeroSkinConfig.Get(skinID);
--
Gitblit v1.8.0