@@ -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;
}