整理代码

This commit is contained in:
MrZ_26
2022-09-29 03:30:41 +08:00
parent f3face791f
commit 7a55e447fc
5 changed files with 13 additions and 21 deletions

View File

@@ -131,7 +131,7 @@ local commands={}do
code=function()
local L=love.filesystem.getDirectoryItems""
for _,name in next,L do
if love.filesystem.getRealDirectory(name)==SAVEDIR then
if FILE.isSafe(name) then
tree("",name,0)
end
end