浏览代码

章节宝箱领取bug修复

cyzhao 6 月之前
父节点
当前提交
13435ab735
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Gameserver/App/process/FightProc.php

+ 2 - 2
Gameserver/App/process/FightProc.php

@@ -593,7 +593,7 @@ class FightProc {
         switch ($index) {
             case 1:
                 $ts = $gateMo->first_ts1 * 60;
-                if ($gateInfo->MaxSeconds >= $ts) {
+                if ($gateInfo->MaxSeconds >= $ts || $gateInfo->pass > 0) {
                     $tag = true;
                 }
                 $mask = 1;
@@ -601,7 +601,7 @@ class FightProc {
                 break;
             case 2:
                 $ts = $gateMo->first_ts2 * 60;
-                if ($gateInfo->MaxSeconds >= $ts) {
+                if ($gateInfo->MaxSeconds >= $ts || $gateInfo->pass > 0) {
                     $tag = true;
                 }
                 $mask = 2;