显示模式信息的函数也可以拿到“回放状态”变量

隐形wtf模式在tas模式下不会完全遮挡
This commit is contained in:
MrZ626
2021-08-24 18:14:04 +08:00
parent 9eaa00e878
commit aab45b1b14
2 changed files with 3 additions and 3 deletions

View File

@@ -26,10 +26,10 @@ return{
MES.new('warn',text.switchSpawnSFX)
end
end,
mesDisp=function(P)
mesDisp=function(P,repMode)
if not GAME.result then
gc.push('transform')
if GAME.replaying then
if repMode then
gc.origin()
gc.setColor(.3,.3,.3,.7)
gc.rectangle('fill',0,0,SCR.w,SCR.h)

View File

@@ -892,7 +892,7 @@ function draw.norm(P,repMode)
--Mode informations
if GAME.curMode.mesDisp then
gc_setColor(.97,.97,.97)
GAME.curMode.mesDisp(P)
GAME.curMode.mesDisp(P,repMode)
end
if P.frameRun<180 then drawStartCounter(P.frameRun)end