修复没开濒死特效时濒死音效也没有,整理代码修复几个之前重构导致的变量泄露

This commit is contained in:
MrZ626
2021-02-17 01:49:15 +08:00
parent 82170df927
commit 8421d2e03c
3 changed files with 27 additions and 27 deletions

View File

@@ -312,15 +312,7 @@ function scene.draw()
drawVirtualkeys()
--Warning
gc.push("transform")
gc.origin()
if GAME.warnLVL>0 then
SHADER.warning:send("level",GAME.warnLVL)
gc.setShader(SHADER.warning)
gc.rectangle("fill",0,0,SCR.w,SCR.h)
gc.setShader()
end
gc.pop()
drawWarning()
--New message
if textBox.new and hideChatBox then