소스 검색

章节解锁代码bug

cyzhao 1 주 전
부모
커밋
e8016cf4cd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
                     }