Skip to content

Commit

Permalink
fix once-off sound event playing using volume option for pitch. Closes
Browse files Browse the repository at this point in the history
  • Loading branch information
thiakil committed Mar 20, 2019
1 parent 61c64f0 commit 6c6c21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/mekanism/client/sound/SoundHandler.java
Expand Up @@ -115,7 +115,7 @@ public static boolean canRestartSound(ITickableSound sound)

public static void playSound(SoundEvent sound)
{
playSound(PositionedSoundRecord.getMasterRecord(sound, (float) MekanismConfig.current().client.baseSoundVolume.val()));
playSound(PositionedSoundRecord.getRecord(sound, 1.0F, (float) MekanismConfig.current().client.baseSoundVolume.val()));
}

public static void playSound(ISound sound)
Expand Down

0 comments on commit 6c6c21a

Please sign in to comment.