【灵脉秘境】提交

dev_chengFeng
ZhangBiao 2021-11-19 09:38:41 +08:00
parent 6454e84172
commit 9e507326fd
1 changed files with 5 additions and 2 deletions

View File

@ -148,8 +148,11 @@ function this.CheckRedPoint()
end
function this.CheckRecord()
LogGreen("有新的数据2: "..tostring(PlayerPrefs.GetString(PlayerManager.uid.."LingMai")).." "..tostring(this.recordData[1].time))
return PlayerPrefs.GetString(PlayerManager.uid.."LingMai") ~= tostring(this.recordData[1].time)
if this.recordData[1] then
LogGreen("有新的数据2: "..tostring(PlayerPrefs.GetString(PlayerManager.uid.."LingMai")).." "..tostring(this.recordData[1].time))
return PlayerPrefs.GetString(PlayerManager.uid.."LingMai") ~= tostring(this.recordData[1].time)
end
return false
end
return LingMaiMiJingManager