修复从剪切板导入地图不会解锁没解锁的模式

This commit is contained in:
MrZ626
2021-08-18 02:50:02 +08:00
parent 79368af6ee
commit addc68b5f1

View File

@@ -30,7 +30,13 @@ scene.widgetList={
code=function()
local D=parseCB()
if D then
TABLE.update(D,RANKS)
TABLE.cover(D,RANKS)
for k,v in next,oldModeNameTable do
if RANKS[k]then
RANKS[v]=RANKS[k]
RANKS[k]=nil
end
end
if FILE.save(RANKS,'conf/unlock')then
MES.new('check',text.importSuccess)
end