移除FTLock,全局强制开启

This commit is contained in:
MrZ_26
2022-03-22 02:15:48 +08:00
parent ce25f17676
commit 3a2ec3a5dd
16 changed files with 3 additions and 18 deletions

View File

@@ -70,5 +70,4 @@ return{
bg='none',bgm='race',
allowMod=true,
FTLock=true,
}

View File

@@ -377,7 +377,6 @@ local DemoEnv={
life=1e99,
allowMod=false,
fine=false,
FTLock=false,
}
function PLY.newDemoPlayer(id)
local P=_newEmptyPlayer(id)

View File

@@ -2671,7 +2671,7 @@ function Player:_die()
end
end
function Player:update(dt)
self.trigFrame=self.trigFrame+(self.gameEnv.FTLock and dt*60 or 1)
self.trigFrame=self.trigFrame+dt*60
if self.alive then
local S=self.stat
if self.type=='computer'then self.bot:update(dt)end