打击垫允许音效跟语音一起响,同时允许设置音效的音量

This commit is contained in:
MrZ626
2021-09-27 21:43:22 +08:00
parent 10df10abfd
commit 3b5c66d192

View File

@@ -102,11 +102,8 @@ local function press(x,y)
pad.funcAlpha[y]=1 pad.funcAlpha[y]=1
else else
local k=pad[pad.page][y][x] local k=pad[pad.page][y][x]
if k.sfx then if k.sfx then SFX.play(k.sfx,k.vol)end
SFX.play(k.sfx) if k.voc then VOC.play(k.voc)end
elseif k.voc then
VOC.play(k.voc)
end
pad.alpha[y][x]=1 pad.alpha[y][x]=1
end end
end end