소스 검색

修改跨服活动-战场之魂排行榜充值积分错误问题

gitxsm 2 달 전
부모
커밋
9a0be8e7b0
1개의 변경된 파일10개의 추가작업 그리고 7개의 파일을 삭제
  1. 10 7
      script/module/serverCommerce/ServerCommerceManager.lua

+ 10 - 7
script/module/serverCommerce/ServerCommerceManager.lua

@@ -722,13 +722,16 @@ function onCharge(human, price, funcID, buyID)
         end
     end
 
-    local tBuyCfg = BuyConf.buy[buyID]
-    if tBuyCfg then
-        local region = human.region or "CN"
-        local nPoint = tBuyCfg[region]
-        CommerveManager_AddServerPoint(nPoint)
-        CommerveManager_AddHumanPint(human, nPoint)
-    end
+    -- local tBuyCfg = BuyConf.buy[buyID]
+    -- if tBuyCfg then
+    --     local region = human.region or "CN"
+    --     local nPoint = tBuyCfg[region]
+    --     CommerveManager_AddServerPoint(nPoint)
+    --     CommerveManager_AddHumanPint(human, nPoint)
+    -- end
+
+        CommerveManager_AddServerPoint(price)
+        CommerveManager_AddHumanPint(human, price)
 end
 
 -- 增加整个服务器的点数