diff --git a/source/funkin/ui/transition/LoadingState.hx b/source/funkin/ui/transition/LoadingState.hx index 69e4bd7f0e5..fe26d24dc0e 100644 --- a/source/funkin/ui/transition/LoadingState.hx +++ b/source/funkin/ui/transition/LoadingState.hx @@ -220,7 +220,7 @@ class LoadingState extends MusicBeatSubState params.targetVariation ?? Constants.DEFAULT_VARIATION); var daStage = funkin.data.stage.StageRegistry.instance.fetchEntry(daChart.stage); - stageDirectory = daStage.directory ?? "shared"; + stageDirectory = daStage?._data?.directory ?? "shared"; Paths.setCurrentLevel(stageDirectory); var playStateCtor:() -> PlayState = function() {