|
|
@@ -228,7 +228,7 @@ function onLogin(human)
|
|
|
local nOldTime = tStatus.nTime
|
|
|
local nNowTime = os.time()
|
|
|
local sameDay = Util.isSameDayByTimes(nNowTime, nOldTime)
|
|
|
- if false == sameDay then
|
|
|
+ if true ~= sameDay then
|
|
|
VoucherShop_RestStatus(human)
|
|
|
VoucherShop_WriteLog(human, "[VoucherShop_OnBuyVoucher]", "玩家登录重置购买状态 nOldTime = "..nOldTime.." nNowTime = "..nNowTime)
|
|
|
end
|