游戏开始时列出使用了的mod
This commit is contained in:
@@ -492,6 +492,8 @@ function resetGameData(replaying)
|
||||
end
|
||||
STAT.game=STAT.game+1
|
||||
FREEROW.reset(30*#PLAYERS)
|
||||
TASK.removeTask_code(TICK.showMods)
|
||||
TASK.new(TICK.showMods,{0})
|
||||
SFX.play("ready")
|
||||
collectgarbage()
|
||||
end
|
||||
|
||||
@@ -1,4 +1,16 @@
|
||||
local Tick={}
|
||||
function Tick.showMods(data)
|
||||
local d=data[1]+1
|
||||
if d%20==0 then
|
||||
local M=GAME.mod[d/20]
|
||||
if M then
|
||||
TEXT.show(M.id,700+(d-20)%120*4,36,45,"spin",.5)
|
||||
else
|
||||
return true
|
||||
end
|
||||
end
|
||||
data[1]=d
|
||||
end
|
||||
function Tick.finish(P)
|
||||
P.endCounter=P.endCounter+1
|
||||
if P.endCounter<40 then
|
||||
|
||||
Reference in New Issue
Block a user