From 09bc892c7283df8757a07b646d5af21ddaa263d1 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期四, 06 十一月 2025 18:22:34 +0800
Subject: [PATCH] 164 天子的考验-客户端
---
Main/System/MainLevel/MainLevelDropCell.cs | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/Main/System/MainLevel/MainLevelDropCell.cs b/Main/System/MainLevel/MainLevelDropCell.cs
index 253f53e..3a4f34e 100644
--- a/Main/System/MainLevel/MainLevelDropCell.cs
+++ b/Main/System/MainLevel/MainLevelDropCell.cs
@@ -39,12 +39,15 @@
{
lockImg.SetActive(false);
int maxValue = 0;
- for (int i = 0; i < config.DailyBootyUpperList.Length; i++)
- {
- if (config.DailyBootyUpperList[i][0] == itemID)
+ if (config.DailyBootyUpperList != null)
+ {
+ for (int i = 0; i < config.DailyBootyUpperList.Length; i++)
{
- maxValue = config.DailyBootyUpperList[i][1];
- break;
+ if (config.DailyBootyUpperList[i][0] == itemID)
+ {
+ maxValue = config.DailyBootyUpperList[i][1];
+ break;
+ }
}
}
int curValue = 0;
--
Gitblit v1.8.0