Browse Source

fixed: 任务步骤回撤, 没有及时同步到前端.

王刚 3 năm trước cách đây
mục cha
commit
cf2964be9e

+ 1 - 0
Gameserver/Amfphp/process/TaskProc.php

@@ -513,6 +513,7 @@ class TaskProc {
             foreach ($stepArr as &$tsp) {                                       # 回撤上一步的进度
             foreach ($stepArr as &$tsp) {                                       # 回撤上一步的进度
                 if ($tsp->typeId == $fallbackID) {
                 if ($tsp->typeId == $fallbackID) {
                     $tsp->cur = 0;
                     $tsp->cur = 0;
+                    NormalEventProc::OnTaskCardStep_Process($card->uid, $tsp->typeId); # 任务进度更新 
                 }
                 }
             }
             }
             $card->curSteps = $stepArr;                                         # 更新任务步骤集合
             $card->curSteps = $stepArr;                                         # 更新任务步骤集合