From c3525dadcaa037816b654a6bb706284bbbf51af3 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 11 九月 2025 17:50:22 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/KnapSack/PackManager.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Main/System/KnapSack/PackManager.cs b/Main/System/KnapSack/PackManager.cs
index 39aaa30..d60e762 100644
--- a/Main/System/KnapSack/PackManager.cs
+++ b/Main/System/KnapSack/PackManager.cs
@@ -434,8 +434,9 @@
             if (itemGUIDDict[guid].packType == type)
             {
                 itemGUIDDict.Remove(guid);
-                DeleteItemEvent?.Invoke(type, guid, itemID, index, clearType);
             }
+            //鍙槸鑳屽寘杞Щ锛屼笉鍒犻櫎浣嗕篃瑕侀�氱煡
+            DeleteItemEvent?.Invoke(type, guid, itemID, index, clearType);
         }
     }
 

--
Gitblit v1.8.0