|
|
@@ -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
|
|
|
|
|
|
-- 增加整个服务器的点数
|