Browse Source

主线任务

cyzhao 10 months ago
parent
commit
8fc86bec96
1 changed files with 1 additions and 4 deletions
  1. 1 4
      Gameserver/App/model/User/Ins_TaskStep_Active.php

+ 1 - 4
Gameserver/App/model/User/Ins_TaskStep_Active.php

@@ -134,10 +134,7 @@ class Ins_TaskStep_Active extends Object_ext {
                 $gateInfo = ctx()->gates->GateList->$gateId;
                 $state = $gateInfo->tz_state;
 
-                if ($state >= $para1) {
-                    return 1;
-                }
-                return 0;
+                return $state;
             case Enum_ActiveTaskCmdType::RankPrize_Num:
                 $arr = ctx()->privateState->rankReward_drawed_MainGate;
                 $num = count($arr);