parent
b7a7798611
commit
7f9549f651
|
@ -1,4 +1,4 @@
|
||||||
return {
|
return {
|
||||||
volume_up = conf_dir .. "assets/sounds/volumeup-click.mp3",
|
volume_up = conf_dir .. "assets/sounds/volumeup.ogg",
|
||||||
volume_down = conf_dir .. "assets/sounds/volumedown-click.mp3"
|
volume_down = conf_dir .. "assets/sounds/volumedown.ogg"
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -9,7 +9,7 @@ sound.play = function(sound_key)
|
||||||
text = "There is no sound with key " .. sound_key
|
text = "There is no sound with key " .. sound_key
|
||||||
})
|
})
|
||||||
else
|
else
|
||||||
if (sound.counter > 5) then
|
if (sound.counter > 0) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
sound.counter = sound.counter + 1
|
sound.counter = sound.counter + 1
|
||||||
|
|
Loading…
Reference in New Issue