1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-26 00:35:11 +00:00

no more shit loops!

This commit is contained in:
Cameron Taylor 2023-04-19 03:00:52 -04:00
parent 2fefb657ec
commit b4468a45c3

View file

@ -39,7 +39,9 @@ class ResultState extends MusicBeatSubstate
else
resultsVariation = NORMAL;
FlxG.sound.playMusic(Paths.music("results" + resultsVariation));
var loops = resultsVariation != SHIT;
FlxG.sound.playMusic(Paths.music("results" + resultsVariation), 1, loops);
// TEMP-ish, just used to sorta "cache" the 3000x3000 image!
var cacheBullShit = new FlxSprite().loadGraphic(Paths.image("resultScreen/soundSystem"));