From f50c9a6b2dea20c4a655d43352c5a1dcd8bb41b5 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 17 Mar 2021 20:05:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=86=8D=E6=AF=8F=E6=AC=A1=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E6=97=B6=E5=BC=BA=E5=88=B6=E5=88=A0=E9=99=A4=E5=AD=98?= =?UTF-8?q?=E6=A1=A3=E7=9B=AE=E5=BD=95=E5=86=85=E6=89=80=E6=9C=89=E9=9D=9E?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B9=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/main.lua b/main.lua index 19962dcf..3d55620e 100644 --- a/main.lua +++ b/main.lua @@ -112,13 +112,6 @@ if fs.getInfo("data.dat")or fs.getInfo("key.dat")or fs.getInfo("settings.dat")th end end ---Force delete all useless files -for _,name in next,fs.getDirectoryItems("")do - if fs.getRealDirectory(name)==SAVEDIR and fs.getInfo(name).type=="file"then - fs.remove(name) - end -end - --Load modules require"Zframework"