aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-05-25 18:04:12 -0500
committeringlettronald <inglettronald@gmail.com>2023-05-25 18:04:12 -0500
commitcf95db1da4bbbf6a08d2ac45241bf5f24e939a39 (patch)
tree8e700a510c42dc655c10eedea9d3e9c22d341fcd
parent9be0ba12f43717aef1e3892aebbe9bdef75dd509 (diff)
downloadDulkirMod-cf95db1da4bbbf6a08d2ac45241bf5f24e939a39.tar.gz
DulkirMod-cf95db1da4bbbf6a08d2ac45241bf5f24e939a39.tar.bz2
DulkirMod-cf95db1da4bbbf6a08d2ac45241bf5f24e939a39.zip
hopefully better sound override
-rw-r--r--src/main/kotlin/dulkirmod/features/dungeons/SecretSounds.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/dulkirmod/features/dungeons/SecretSounds.kt b/src/main/kotlin/dulkirmod/features/dungeons/SecretSounds.kt
index f384658..1bbc040 100644
--- a/src/main/kotlin/dulkirmod/features/dungeons/SecretSounds.kt
+++ b/src/main/kotlin/dulkirmod/features/dungeons/SecretSounds.kt
@@ -83,7 +83,7 @@ object SecretSounds {
fun playSound() {
if (System.currentTimeMillis() - lastSound > 50) { // don't kill ears
- val prevNote = mc.gameSettings.getSoundLevel(SoundCategory.MASTER)
+ val prevNote = mc.gameSettings.getSoundLevel(SoundCategory.RECORDS)
mc.gameSettings.setSoundLevel(SoundCategory.RECORDS, 1f)
mc.thePlayer.playSound("note.pling", 1f * DulkirConfig.secretSoundVolume, 1f)
lastSound = System.currentTimeMillis()