From eabc1cf8441444ea40b0fb00b394009eb5c9e90d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 25 八月 2025 20:40:20 +0800
Subject: [PATCH] 5 【武将】招募系统-测试bug记录

---
 Main/System/Invest/InvestModel.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Main/System/Invest/InvestModel.cs b/Main/System/Invest/InvestModel.cs
index 161b1fb..e078acb 100644
--- a/Main/System/Invest/InvestModel.cs
+++ b/Main/System/Invest/InvestModel.cs
@@ -32,7 +32,7 @@
 
 
     public event Action onSelectUpdate;
-    public event Action onInvestUpdate;
+    public event Action<int> onInvestUpdate;
 
     public const int redpointID = 20931;
     public Redpoint redpoint = new Redpoint(MainRedDot.REDPOINT_OPENSERVER, redpointID);
@@ -305,7 +305,7 @@
 
         if (onInvestUpdate != null)
         {
-            onInvestUpdate();
+            onInvestUpdate(package.InvestType);
         }
     }
 

--
Gitblit v1.8.0