Browse Source

7日活动开启关卡bug

cyzhao 9 months ago
parent
commit
455a2a3a8c
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Gameserver/App/process/TaskProc.php

+ 4 - 1
Gameserver/App/process/TaskProc.php

@@ -308,7 +308,10 @@ class TaskProc {
      * 7日狂欢数据重置
      */
     public static function Day7TaskReset($gateId) {
-        if ($gateId != glc()->GateUnlock_7DayActive) {
+        $funMo = GameConfig::fun_unlock_getItem(6);
+        $unlockGateId = $funMo->unlockGateId;
+        
+        if ($gateId != $unlockGateId) {
             return;
         }