소스 검색

fixed: 关卡结算同步钻石、金币、资源点。

gwang 4 년 전
부모
커밋
1632c803c4
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      Gameserver/Amfphp/process/FightProc/SweepGatesProc.php

+ 3 - 1
Gameserver/Amfphp/process/FightProc/SweepGatesProc.php

@@ -172,7 +172,9 @@ class SweepGatesProc {
             'gates' => $req->userInfo->game->gates,
             'tili' => $req->userInfo->game->baseInfo->tili,
             'time' => $req->userInfo->game->privateState->TiliTime,
-//            'gold' => $gold,
+            'gold' => $req->userInfo->game->baseInfo->gold,
+            'resPoint' => $req->userInfo->game->baseInfo->resPoint,
+            'cash' => $req->userInfo->game->baseInfo->cash,
             'exp' => $exp,
 //            'rewardstr' => implode(';', $rewardArr),
             'isFirst' => $isFirst,