打击垫允许音效跟语音一起响,同时允许设置音效的音量
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user