소스 검색

月卡bug

cyzhao 1 년 전
부모
커밋
f06832767c
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      Gameserver/App/process/ShopProc.php

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

@@ -372,12 +372,11 @@ class ShopProc {
                 if($typeId == 1){
                     my_Assert($user->privateState->monthCardShop_ts == 0, ErrCode::err_const_no);
                     $user->privateState->monthCardShop_ts = now();
+                    StoreProc::AddMultiItemInStore($mo->buy_reward);
                 } else {
                     my_Assert($user->privateState->honourCardShop_ts == 0, ErrCode::err_const_no);
                     $user->privateState->honourCardShop_ts = now();
-                }
-                
-                StoreProc::AddMultiItemInStore($mo->buy_reward);
+                }                            
                 break;
             default:
                 break;