Skip to content

Commit

Permalink
Update SoundEffect.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackx2 committed Nov 3, 2024
1 parent b9f1767 commit 7dc9d24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/funkin/backend/audio/SoundEffect.hx
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,10 @@ class SoundEffect
* After 100 milseconds the auto effect will start.
*/
new flixel.util.FlxTimer().start(.1, (tmr) -> _sound.play());

/**
* Adding the sound to the list.
*/
FlxG.sound.list.add(_sound);
}
}

0 comments on commit 7dc9d24

Please sign in to comment.