From 5a4e34c8a85737c0fa5b5775122da31155cbaef3 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 09 二月 2026 14:46:01 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/System/HeroUI/HeroGiftLineCell.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Main/System/HeroUI/HeroGiftLineCell.cs b/Main/System/HeroUI/HeroGiftLineCell.cs
index ce685b9..c86faa0 100644
--- a/Main/System/HeroUI/HeroGiftLineCell.cs
+++ b/Main/System/HeroUI/HeroGiftLineCell.cs
@@ -6,10 +6,10 @@
[SerializeField] GiftBaseCell[] cardList;
public void Display(int index, List<int> configList)
- {
+ {
for (int i = 0; i < cardList.Length; i++)
{
- if (index < configList.Count)
+ if (index + i < configList.Count)
{
var giftID = configList[index + i];
var giftLV = HeroUIManager.Instance.maxGiftLevel;
--
Gitblit v1.8.0