文件模块重构

This commit is contained in:
MrZ626
2020-12-14 18:33:48 +08:00
parent b6b87f5480
commit 654a5b9dfe
17 changed files with 76 additions and 238 deletions

View File

@@ -70,7 +70,7 @@ function Tmr.load()
for k,v in next,m do
M[k]=v
end
M.records=FILE.loadRecord(m.name)or M.score and{}
M.records=FILE.load(m.name)or M.score and{}
if M.score then
if RANKS[M.name]==6 then
RANKS[M.name]=0