Parcourir la source

章节解锁代码bug

cyzhao il y a 1 semaine
Parent
commit
e8016cf4cd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;
                     }