option to ignore beatmap sample volume

This commit is contained in:
yugecin
2016-09-30 20:46:38 +02:00
parent 8891976d48
commit 08d9f4165a
3 changed files with 12 additions and 0 deletions

View File

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