From addc68b5f15f22c23fb2f72b4508765b8d389907 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 18 Aug 2021 02:50:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=8E=E5=89=AA=E5=88=87?= =?UTF-8?q?=E6=9D=BF=E5=AF=BC=E5=85=A5=E5=9C=B0=E5=9B=BE=E4=B8=8D=E4=BC=9A?= =?UTF-8?q?=E8=A7=A3=E9=94=81=E6=B2=A1=E8=A7=A3=E9=94=81=E7=9A=84=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/savedata.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/parts/scenes/savedata.lua b/parts/scenes/savedata.lua index 979fc15d..c0bafbbc 100644 --- a/parts/scenes/savedata.lua +++ b/parts/scenes/savedata.lua @@ -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