Bläddra i källkod

章节解锁代码bug

cyzhao 1 vecka sedan
förälder
incheckning
e8016cf4cd
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Gameserver/App/process/FightProc.php

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

@@ -897,7 +897,7 @@ class FightProc {
             if ($gatePassTag_old == 0 && $gatePassTag_new == 1) {              
                 $gate_chapter = GameConfig::gate_chapter();
                 foreach ($gate_chapter as $id => $gate_chapter_mo) {
-                    if($id == $gateId){
+                    if($gate_chapter_mo->unlockGateId == $gateId){
                         $newChapterId = $id;
                         break;
                     }