mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
sound cues for buttons
This commit is contained in:
@@ -255,7 +255,7 @@ object PickaxeCore {
|
||||
val pan = 1.3 * relX / distFallOff
|
||||
val vol = MixerTrackProcessor.getVolFun(dist / distFallOff).coerceAtLeast(0.0)
|
||||
if (!tooltipWasShown && tooltipSet) {
|
||||
INGAME.playGUIsound(soundCue, 0.25 * vol, pan.toFloat())
|
||||
App.playGUIsound(soundCue, 0.18 * vol, pan.toFloat())
|
||||
}
|
||||
|
||||
true // just a placeholder
|
||||
|
||||
Reference in New Issue
Block a user