Explorar o código

挑战层数任务记录bug修复

cyzhao hai 11 meses
pai
achega
81132b8312
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      Gameserver/App/process/FightProc.php

+ 3 - 2
Gameserver/App/process/FightProc.php

@@ -321,9 +321,10 @@ class FightProc {
                     StoreProc::AddMultiItemInStore($layerMo->rewards);              # 发放奖励
                 }
             }
-
-            TaskProc::OnPassLayer_ChallengeGate($finalLayer - 1);
+            
             ctx()->gates()->TowerGateInfo()->CurLayer = $finalLayer;
+            
+            TaskProc::OnPassLayer_ChallengeGate($finalLayer - 1);
             UserProc::updateUserInfo();
             $ret = array(
                 'store' => ctx()->store,