|
|
@@ -566,7 +566,7 @@ function updateDaily(human, funcID)
|
|
|
|
|
|
if true == CommerceAct_IsRun() then
|
|
|
for _, module in pairs(tCommerceActModuel) do
|
|
|
- if module and module.onLogin then
|
|
|
+ if module and module.updateDaily then
|
|
|
module.updateDaily(human)
|
|
|
end
|
|
|
end
|
|
|
@@ -829,6 +829,10 @@ function CommerveManager_GMClear(human)
|
|
|
nBatchID = 1, -- 批次
|
|
|
bSendPlayerMail = false, -- 是否发送个人邮件
|
|
|
bSendServerMail = false, -- 是否发送全服邮件
|
|
|
+ battleGround = {
|
|
|
+ freeChallengeCnt = ServerCommerceActDefine.COMMERCEACT_DAILY_FREECHALLENGETIMES,
|
|
|
+ resetTime = os.time(),
|
|
|
+ },
|
|
|
}
|
|
|
|
|
|
for nID, module in pairs(tCommerceActModuel) do
|