虚拟按键触摸权重取值调整到0~1

This commit is contained in:
MrZ626
2020-12-08 14:55:10 +08:00
parent fc39239be1
commit 2124b24f61
5 changed files with 19 additions and 13 deletions

View File

@@ -210,7 +210,10 @@ do
S.finesseRate=5*(S.piece-S.extraRate)
end
if S.version~=VERSION_CODE then
if(tonumber(S.version)or 0)<1204 then
if type(S.version)~="number"then
S.version=0
end
if S.version<1204 then
STAT.frame=math.floor(STAT.time*60)
STAT.lastPlay="sprint_10"
RANKS.sprintFix=nil
@@ -218,6 +221,10 @@ do
fs.remove("sprintFix.dat")
fs.remove("sprintLock.dat")
end
if S.version<1205 then
SETTING.VKCurW=SETTING.VKCurW*.1
SETTING.VKTchW=SETTING.VKTchW*.1
end
newVersionLaunch=true
--Try unlock modes which should be unlocked