整理代码

This commit is contained in:
MrZ626
2021-03-27 19:27:45 +08:00
parent cb82489f33
commit 88281c57cd

View File

@@ -1,5 +1,5 @@
local ins,rem=table.insert,table.remove
local yield=coroutine.yield
local yield=YIELD
local seqGens={
none=function() while true do yield()end end,
@@ -138,7 +138,7 @@ local seqGens={
end
end,
}
return function(P)--Set newNext funtion for player P
return function(P)--Return a piece-generating funtion for player P
local s=P.gameEnv.sequence
if type(s)=="function"then
return s