ソースを参照

章节宝箱领取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;