oh and a playing check lol

This commit is contained in:
KadeDeveloper 2021-08-13 15:05:03 -07:00
parent 2b13c590fe
commit 73d5f068c3

View File

@ -2134,7 +2134,7 @@ class ChartingState extends MusicBeatState
{
for(note in shownNotes)
{
if (note.strumTime <= Conductor.songPosition && !claps.contains(note))
if (note.strumTime <= Conductor.songPosition && !claps.contains(note) && FlxG.sound.music.playing)
{
claps.push(note);
FlxG.sound.play(Paths.sound('SNAP'));