Skip to content

Commit

Permalink
oopsies 2 but it wasnt my fault
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion committed Aug 22, 2024
1 parent ac3b419 commit 76715f7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -4307,9 +4307,7 @@ class PlayState extends MusicBeatState {
// cache shit
if (Options.getData("charsAndBGs")) {
if (event[0].toLowerCase() == "change character" && event[1] <= FlxG.sound.music.length && !map.exists(event[3])) {
#if sys
var tmr:Float = Sys.time();
#end
var funnyCharacter:Character;
trace('Caching ${event[3]}');

Expand All @@ -4330,9 +4328,7 @@ class PlayState extends MusicBeatState {
}
}

#if sys
trace('Cached ${event[3]} in ${FlxMath.roundDecimal(Sys.time() - tmr, 2)} seconds');
#end
}

if (event[0].toLowerCase() == "change stage"
Expand Down Expand Up @@ -4416,4 +4412,4 @@ enum Execute_On {
BOTH;
MODCHART;
STAGE;
}
}

0 comments on commit 76715f7

Please sign in to comment.