静音按钮再次点击可以重新开启声音了

This commit is contained in:
MrZ626
2021-08-03 01:27:13 +08:00
parent 7407bbefdf
commit 1aa991f89f
2 changed files with 15 additions and 11 deletions

View File

@@ -43,16 +43,6 @@ do--function applyXxxSatur(mode)
SHADER.fieldSatur:send('k',m[2])
end
end
function muteAll()
SETTING.sfx=0
SETTING.sfx_spawn=0
SETTING.sfx_warn=0
SETTING.bgm=0
SETTING.vib=0
SETTING.voc=0
BGM.freshVolume()
end
--Royale mode
function randomTarget(P)--Return a random opponent for P