소스 검색

fixed: 金币同步代码

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

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

@@ -125,7 +125,7 @@ class SweepGatesProc {
 //        var_dump($userGates);
         UserProc::updateUserInfo();
         return Resp::ok(array("store" => $req->userInfo->game->store,
-                    'gold' => $gold,
+                    'gold' => req()->userInfo->game->baseInfo->gold,
                     'cash' => req()->userInfo->game->baseInfo->cash
         ));         # 返回值  
     }