Skip to content

Commit

Permalink
Update LoadingState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline committed Oct 16, 2024
1 parent 66fb8b0 commit d88b434
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/funkin/ui/transition/LoadingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ class LoadingState extends MusicBeatSubState
};
}

// TODO: When we finally finish improving the caching system, remove the NO_PRELOAD_ALL define.
#if NO_PRELOAD_ALL
// Switch to loading state while we load assets (default on HTML5 target).
var loadStateCtor = () -> {
Expand Down Expand Up @@ -265,6 +266,7 @@ class LoadingState extends MusicBeatSubState
#end
}

// TODO: When we finally finish improving the caching system, remove the NO_PRELOAD_ALL define.
#if NO_PRELOAD_ALL
static function isSoundLoaded(path:String):Bool
{
Expand Down

0 comments on commit d88b434

Please sign in to comment.