整理代码,部分全局变量声明移入Zframework中

This commit is contained in:
MrZ626
2021-04-28 13:51:56 +08:00
parent 28576c2c9a
commit fcae6c61e4
6 changed files with 10 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ local ins,rem=table.insert,table.remove
local yield=YIELD
local seqGens={
none=function() while true do yield()end end,
none=function()while true do yield()end end,
bag=function(P,seq0)
local len=#seq0
local bag={}

View File

@@ -398,7 +398,7 @@ function update.remote_alive(P,dt)
frmDelta<20 and 1 or
frmDelta<45 and rnd(2)or
frmDelta<90 and 2 or
frmDelta<180 and rnd(2,3) or
frmDelta<180 and rnd(2,3)or
3
do
local eventTime=P.stream[P.streamProgress]