修复从剪切板导入地图不会解锁没解锁的模式
This commit is contained in:
@@ -30,7 +30,13 @@ scene.widgetList={
|
|||||||
code=function()
|
code=function()
|
||||||
local D=parseCB()
|
local D=parseCB()
|
||||||
if D then
|
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
|
if FILE.save(RANKS,'conf/unlock')then
|
||||||
MES.new('check',text.importSuccess)
|
MES.new('check',text.importSuccess)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user