整理代码
This commit is contained in:
@@ -3,7 +3,7 @@ local int,abs,rnd=math.floor,math.abs,math.random
|
||||
local rem=table.remove
|
||||
local assert,resume,status=assert,coroutine.resume,coroutine.status
|
||||
|
||||
local TEXT,GAME=TEXT,GAME
|
||||
local TEXT,GAME,CC=TEXT,GAME,CC
|
||||
local PLY_ALIVE=PLY_ALIVE
|
||||
|
||||
local function update_misc(P,dt)
|
||||
@@ -405,7 +405,8 @@ function update.dead(P,dt)
|
||||
end
|
||||
function update.remote_alive(P,dt)
|
||||
local frameRate=(P.stream[#P.stream-1]or 0)-P.frameRun
|
||||
frameRate=frameRate<20 and 1 or
|
||||
frameRate=
|
||||
frameRate<20 and 1 or
|
||||
frameRate<30 and rnd(2)or
|
||||
frameRate<60 and 2 or
|
||||
frameRate<90 and 3 or
|
||||
|
||||
Reference in New Issue
Block a user