make sample override a percent instread of boolean

This commit is contained in:
yugecin
2016-10-01 10:46:28 +02:00
parent 1f68136639
commit d424db9a7f
3 changed files with 13 additions and 5 deletions

View File

@@ -291,8 +291,8 @@ public class SoundController {
if (hitSound < 0)
return;
if (Options.ignoreBeatmapSampleVolume()) {
sampleVolumeMultiplier = 1f;
if (Options.getSampleVolumeOverride() > 0) {
sampleVolumeMultiplier = Options.getSampleVolumeOverride();
}
float volume = Options.getHitSoundVolume() * sampleVolumeMultiplier * Options.getMasterVolume();