修复录像文件保存格式错误,多了个换行

This commit is contained in:
MrZ626
2021-06-27 14:09:38 +08:00
parent b5093d19f4
commit d77af59521
2 changed files with 2 additions and 3 deletions

View File

@@ -78,7 +78,6 @@ function scene.sceneInit()
while true do
local b,len=file:read(1)
if len==0 then
file:close()
repList[i]={
fileName=REPLAY[i],
available=false,
@@ -101,11 +100,11 @@ function scene.sceneInit()
player=metadata[4],
data=file:read(),
}
file:close()
break
end
end
end
file:close()
else
repList[i]={
fileName=REPLAY[i],