Skip to content

Commit

Permalink
Update PlayState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
JVNpixels authored Nov 16, 2024
1 parent 919d98b commit 6fa00ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/funkin/play/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2638,7 +2638,10 @@ class PlayState extends MusicBeatSubState
if (playSound)
{
vocals.playerVolume = 0;
FunkinSound.playOnce(Paths.soundRandom('missnote', 1, 3), FlxG.random.float(0.5, 0.6));
if (Preferences.playMissSound)
{
FunkinSound.playOnce(Paths.soundRandom('missnote', 1, 3), FlxG.random.float(0.5, 0.6));
}
}
}

Expand Down

0 comments on commit 6fa00ed

Please sign in to comment.