From d613ac4b9deae55e86dfef5f5b971f8314029ddb Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 26 一月 2026 15:53:15 +0800
Subject: [PATCH] 422 子 【内政】命格系统 / 【内政】命格系统-客户端

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

diff --git a/Main/System/FuncPreset/FuncPresetManager.cs b/Main/System/FuncPreset/FuncPresetManager.cs
index 70045fb..94498a4 100644
--- a/Main/System/FuncPreset/FuncPresetManager.cs
+++ b/Main/System/FuncPreset/FuncPresetManager.cs
@@ -249,14 +249,14 @@
     {
         var unlockCnt = GetUnlockCnt(funcType);
         var maxCount = PresetUnlockConfig.GetFuncPresetMaxCount(funcType);
-        var unlockType = PresetUnlockConfig.GetUnlockType((int)FuncPresetType.Mingge);
+        var unlockType = PresetUnlockConfig.GetUnlockType(funcType);
         if (unlockType == 2)
         {
             //鍛芥牸鎸夋帹婕斿鐣岃В閿�
             //鍙湁1涓柟妗堝垯涓嶆樉绀猴紝澶т簬1涓垯鍏ㄦ樉绀�
             if (unlockCnt == 1)
             {
-                var config = PresetUnlockConfig.GetPresetUnlockConfig((int)FuncPresetType.Mingge, 2);
+                var config = PresetUnlockConfig.GetPresetUnlockConfig(funcType, 2);
                 if (MinggeManager.Instance.m_GanwuLV >= config.UnlockValue)
                 {
                     return maxCount;

--
Gitblit v1.8.0