diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/SoundUtils.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/SoundUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/SoundUtils.kt index 26f06df29..23d3fb603 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/SoundUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/SoundUtils.kt @@ -23,8 +23,9 @@ object SoundUtils { } } e.printStackTrace() + } finally { + gameSettings.setSoundLevel(SoundCategory.PLAYERS, oldLevel) } - gameSettings.setSoundLevel(SoundCategory.PLAYERS, oldLevel) } fun createSound(name: String, pitch: Float): ISound { |