Explorar o código

章节解锁代码bug

cyzhao hai 1 semana
pai
achega
e8016cf4cd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
                     }