暂时取消存档导入时的版本限制

This commit is contained in:
MrZ626
2021-10-26 11:12:33 +08:00
parent 3294760f6d
commit 62c802d2c3
2 changed files with 17 additions and 21 deletions

View File

@@ -270,7 +270,6 @@ function NET.loadSavedData(sections)
NET.cloudData.vkSave2=STRING.unpackTable(sec.data) NET.cloudData.vkSave2=STRING.unpackTable(sec.data)
end end
end end
if STAT.version==NET.cloudData.STAT.version then
local success=true local success=true
TABLE.cover(NET.cloudData.STAT,STAT) TABLE.cover(NET.cloudData.STAT,STAT)
success=success and saveStats() success=success and saveStats()
@@ -293,9 +292,6 @@ function NET.loadSavedData(sections)
if success then if success then
MES.new('check',text.saveDone) MES.new('check',text.saveDone)
end end
else
MES.new('error',text.versionNotMatch,1)
end
end end
--Room --Room

View File

@@ -46,7 +46,7 @@ scene.widgetList={
WIDGET.newButton{name="data", x=490,y=390,w=280,h=100,color='lR', WIDGET.newButton{name="data", x=490,y=390,w=280,h=100,color='lR',
code=function() code=function()
local D=_parseCB() local D=_parseCB()
if D and D.version==STAT.version then if D then
TABLE.update(D,STAT) TABLE.update(D,STAT)
saveStats() saveStats()
MES.new('check',text.importSuccess) MES.new('check',text.importSuccess)