From 5eaeaaa79f41a0b0c274e5757215d6240d910c13 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 27 Jun 2021 14:41:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=89=8DLANG.set=E6=97=B6=E6=9C=BA?= =?UTF-8?q?=EF=BC=8C=E9=98=B2=E6=AD=A2=E5=90=8E=E7=BB=ADFILE=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E5=B0=9D=E8=AF=95=E8=BE=93=E5=87=BA=E6=97=B6=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/main.lua b/main.lua index c210368b..f601716f 100644 --- a/main.lua +++ b/main.lua @@ -221,7 +221,6 @@ for _,v in next,fs.getDirectoryItems("parts/backgrounds")do end end end - --Load scene files from SOURCE ONLY for _,v in next,fs.getDirectoryItems("parts/scenes")do if fs.getRealDirectory("parts/scenes/"..v)~=SAVEDIR then @@ -230,6 +229,8 @@ for _,v in next,fs.getDirectoryItems("parts/scenes")do LANG.addScene(sceneName) end end +LANG.set(SETTING.lang) +VK.setShape(SETTING.VKSkin) --Update data do @@ -299,7 +300,4 @@ do if autoRestart then love.event.quit('restart') end -end - -LANG.set(SETTING.lang) -VK.setShape(SETTING.VKSkin) \ No newline at end of file +end \ No newline at end of file