修复不知道多久以前就加入但是不知道什么时候又坏掉了的游戏开始时mod展示动画
This commit is contained in:
@@ -932,15 +932,12 @@ do-- function resetGameData(args)
|
|||||||
local time=0
|
local time=0
|
||||||
while true do
|
while true do
|
||||||
coroutine.yield()
|
coroutine.yield()
|
||||||
time=time+1
|
|
||||||
if time%20==0 then
|
if time%20==0 then
|
||||||
local M=GAME.mod[time/20]
|
local M=GAME.mod[time/20+1]
|
||||||
if M then
|
if not M then return end
|
||||||
TEXT.show(M.id,700+(time-20)%120*4,36,45,'spin',.5)
|
TEXT.show(M.id,640+(time/20%5-2)*80,26,45,'spin')
|
||||||
else
|
|
||||||
return
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
time=time+1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local gameSetting={
|
local gameSetting={
|
||||||
@@ -1021,7 +1018,7 @@ do-- function resetGameData(args)
|
|||||||
GAME.stage=1
|
GAME.stage=1
|
||||||
end
|
end
|
||||||
TASK.removeTask_code(task_showMods)
|
TASK.removeTask_code(task_showMods)
|
||||||
if GAME.setting.allowMod then
|
if PLAYERS[1].gameEnv.allowMod then
|
||||||
TASK.new(task_showMods)
|
TASK.new(task_showMods)
|
||||||
end
|
end
|
||||||
playReadySFX(3)
|
playReadySFX(3)
|
||||||
|
|||||||
Reference in New Issue
Block a user