From 2f06c1b476f4f5e376d0964e009918a8325b9807 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 16 May 2021 21:35:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E6=8E=A8=E7=89=88=E6=9C=AC=E9=80=82?= =?UTF-8?q?=E9=85=8D=E4=BB=A3=E7=A0=81=EF=BC=8C=E6=9B=B4=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf.lua | 6 +++--- main.lua | 10 ++-------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/conf.lua b/conf.lua index 67555674..be2b4047 100644 --- a/conf.lua +++ b/conf.lua @@ -1,7 +1,7 @@ VERSION={ - code=1408, - string="Alpha V0.14.8", - name="冰激凌 Icecream", + code=1409, + string="Alpha V0.14.9", + name="下午茶 Teatime", } function love.conf(t) t.identity='Techmino'--Saving folder diff --git a/main.lua b/main.lua index db9ff3d6..9c1de9b2 100644 --- a/main.lua +++ b/main.lua @@ -247,7 +247,7 @@ do STAT.version=0 needSave=true end - if STAT.version<1300 then + if STAT.version<1302 then STAT.frame=math.floor(STAT.time*60) STAT.lastPlay='sprint_10l' RANKS.sprintFix=nil @@ -256,24 +256,18 @@ do for _,name in next,fs.getDirectoryItems("replay")do fs.remove("replay/"..name) end - end - if STAT.version<1302 then if RANKS.pctrain_n then RANKS.pctrain_n=0 end if RANKS.pctrain_l then RANKS.pctrain_l=0 end fs.remove("conf/settings") needSave=true autoRestart=true end - if STAT.version<1400 then + if STAT.version<1405 then fs.remove("conf/user") fs.remove("conf/key") needSave=true autoRestart=true end - if STAT.version<1405 then - fs.remove("conf/user") - autoRestart=true - end if not TABLE.find({8,10,13,17,22,29,37,47,62,80,100},SETTING.frameMul)then SETTING.frameMul=100 end