From ec9cd314987874a04318c45038081abb622df8b2 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 15 十二月 2025 19:49:08 +0800
Subject: [PATCH] 13 【内政】淘金系统-自动淘金到期时仓库满,全部取出异常

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GoldRush.py  |    2 +-
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldRush.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GoldRush.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GoldRush.py
index 224ea3a..6c6b674 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GoldRush.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GoldRush.py
@@ -78,7 +78,7 @@
     elif value1 == "a":
         ungetCnt = msgList[1] if len(msgList) > 1 else 0
         spaceList = IpyGameDataPY.GetFuncEvalCfg("GoldRush", 1)
-        maxSpace = sum(spaceList) if PlayerGoldRush.GoldRushAutoCanUse(curPlayer) else spaceList[0]
+        maxSpace = sum(spaceList)
         for index in range(maxSpace):
             if ungetCnt <= 0:
                 break
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldRush.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldRush.py
index 6861b51..7ae652f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldRush.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldRush.py
@@ -437,7 +437,7 @@
     getList = []
     if isAll:
         spaceList = IpyGameDataPY.GetFuncEvalCfg("GoldRush", 1)
-        maxSpace = sum(spaceList) if GoldRushAutoCanUse(curPlayer) else spaceList[0]
+        maxSpace = sum(spaceList)
         for index in range(maxSpace):
             goldID = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GoldRushWarehouse % index)
             if not goldID:

--
Gitblit v1.8.0