新的mod开关音效

This commit is contained in:
MrZ_26
2024-01-04 21:28:26 +08:00
parent d0a7a28349
commit 84361c3c31
3 changed files with 1 additions and 7 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -14,13 +14,7 @@ local function _toggleMod(M,back)
else
GAME.mod[number]=1-GAME.mod[number]
end
if M.unranked then
SFX.play('touch',.6)
SFX.play('lock')
else
SFX.play('touch')
SFX.play('lock',.6)
end
SFX.play(GAME.mod[number]>0 and 'mod_on' or 'mod_off')
scene.widgetList.unranked.hide=scoreValid()
end