管理存档的代码微调

This commit is contained in:
MrZ626
2020-12-29 18:33:37 +08:00
parent c7dc7088c4
commit 46a081e056

View File

@@ -93,7 +93,6 @@ scene.widgetList={
hide=HIDE},
WIDGET.newButton{name="resetRecord", x=640,y=460,w=280,h=100,color="red",
code=function()
love.filesystem.remove("record")
for _,name in next,love.filesystem.getDirectoryItems("record")do
love.filesystem.remove("record/"..name)
end