From 02e13cfa81063db800cad02c8ba8932bfba2e6fe Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期四, 28 五月 2026 19:33:34 +0800
Subject: [PATCH] 666 新增代金券 修复商城货币框代币显示问题

---
 Main/System/TimeRush/TimeRushWin.cs |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/Main/System/TimeRush/TimeRushWin.cs b/Main/System/TimeRush/TimeRushWin.cs
index a75d4c2..8979758 100644
--- a/Main/System/TimeRush/TimeRushWin.cs
+++ b/Main/System/TimeRush/TimeRushWin.cs
@@ -19,6 +19,7 @@
     [SerializeField] ButtonEx goButton;
     [SerializeField] TextEx goText;
     [SerializeField] OwnMoneyCell ownMoneyCell;
+    [SerializeField] OwnMoneyCell ownMoneyCell1;
     [SerializeField] ButtonEx closeButton;
     TimeRushManager manager { get { return TimeRushManager.Instance; } }
     StoreModel storeModel { get { return StoreModel.Instance; } }
@@ -210,9 +211,14 @@
         roundText.SetActive(tabType == 1);
         roundText.text = tabType == 1 ? Language.Get("TimeRush06", playerInfo.CurRound, round.RoundMax) : string.Empty;
 
+        int monetyType = manager.TryGetMoneyTypeByRoundType(roundType, out int tempMoneyType) ? tempMoneyType : 99;
+
         ownMoneyCell.SetActive(tabType == 2);
-        ownMoneyCell.moneyType = manager.TryGetMoneyTypeByRoundType(roundType, out int monetyType) ? monetyType : 99;
+        ownMoneyCell.moneyType = monetyType;
         ownMoneyCell.Display(true);
+
+        // Hide second money cell for gold rush (moneyType = 1).
+        ownMoneyCell1.SetActive(tabType == 2 && monetyType != 1);
         giftBgImage.SetActive(tabType == 2);
 
         giftIconImage.SetActive(tabType == 2);

--
Gitblit v1.8.0