@@ -424,7 +424,7 @@ IEnumerator DelayedParkLoad()
424424 yield return new WaitForSeconds ( 1f ) ;
425425 }
426426
427- LoadReplay ( ReplayFiles . currentReplayPath ) ;
427+ LoadReplay ( ReplayFiles . explorer . CurrentReplayPath ) ;
428428 SimpleScreenFadeInstance . Progress = 0f ;
429429 }
430430
@@ -437,7 +437,7 @@ IEnumerator DelayedFlatLandLoad()
437437
438438 yield return new WaitForSeconds ( 1f ) ;
439439
440- LoadReplay ( ReplayFiles . currentReplayPath ) ;
440+ LoadReplay ( ReplayFiles . explorer . CurrentReplayPath ) ;
441441 SimpleScreenFadeInstance . Progress = 0f ;
442442 }
443443
@@ -813,12 +813,12 @@ public void LoadReplayObjects()
813813
814814 crystalizeButtonComp . OnPressed . AddListener ( ( UnityAction ) ( ( ) =>
815815 {
816- if ( ! ReplayCrystals . Crystals . Any ( c => c != null && c . ReplayPath == ReplayFiles . currentReplayPath ) && ReplayFiles . currentHeader != null && ReplayFiles . currentIndex != - 1 )
816+ if ( ! ReplayCrystals . Crystals . Any ( c => c != null && c . ReplayPath == ReplayFiles . explorer . CurrentReplayPath ) && ReplayFiles . currentHeader != null && ReplayFiles . explorer . currentIndex != - 1 )
817817 {
818818 AudioManager . instance . Play ( ReplayCache . SFX [ "Call_DressingRoom_Bake_Part" ] , crystalizeButton . transform . position ) ;
819819
820820 var header = ReplayFiles . currentHeader ;
821- ReplayCrystals . CreateCrystal ( replayTable . transform . position + new Vector3 ( 0 , 0.3f , 0 ) , header , ReplayFiles . currentReplayPath , true ) ;
821+ ReplayCrystals . CreateCrystal ( replayTable . transform . position + new Vector3 ( 0 , 0.3f , 0 ) , header , ReplayFiles . explorer . CurrentReplayPath , true ) ;
822822 }
823823 else
824824 {
@@ -1299,12 +1299,12 @@ public void LoadReplayObjects()
12991299 deleteButtonComp . OnPressed . RemoveAllListeners ( ) ;
13001300 deleteButtonComp . OnPressed . AddListener ( ( UnityAction ) ( ( ) =>
13011301 {
1302- if ( ReplayFiles . currentIndex != - 1 )
1302+ if ( ReplayFiles . explorer . currentIndex != - 1 )
13031303 {
13041304 if ( crystalBreakCoroutine == null )
13051305 {
1306- ReplayCrystals . Crystal crystal = ReplayCrystals . Crystals . FirstOrDefault ( c => c . ReplayPath == ReplayFiles . currentReplayPath ) ;
1307- crystalBreakCoroutine = MelonCoroutines . Start ( ReplayCrystals . CrystalBreakAnimation ( ReplayFiles . currentReplayPath , crystal ) ) ;
1306+ ReplayCrystals . Crystal crystal = ReplayCrystals . Crystals . FirstOrDefault ( c => c . ReplayPath == ReplayFiles . explorer . CurrentReplayPath ) ;
1307+ crystalBreakCoroutine = MelonCoroutines . Start ( ReplayCrystals . CrystalBreakAnimation ( ReplayFiles . explorer . CurrentReplayPath , crystal ) ) ;
13081308 }
13091309 }
13101310 else
@@ -1382,7 +1382,7 @@ public void LoadReplayObjects()
13821382 copyPathButtonComp . onPressed . RemoveAllListeners ( ) ;
13831383 copyPathButtonComp . onPressed . AddListener ( ( UnityAction ) ( ( ) =>
13841384 {
1385- GUIUtility . systemCopyBuffer = ReplayFiles . currentReplayPath ;
1385+ GUIUtility . systemCopyBuffer = ReplayFiles . explorer . CurrentReplayPath ;
13861386 } ) ) ;
13871387
13881388 replaySettings = replaySettingsPanel . AddComponent < ReplaySettings > ( ) ;
@@ -1401,7 +1401,7 @@ public void LoadReplayObjects()
14011401 renameButtonComp . onToggleTrueAudioCall = ReplayCache . SFX [ "Call_GearMarket_GenericButton_Press" ] ;
14021402 renameButtonComp . onToggleStateChanged . AddListener ( ( UnityAction < bool > ) ( ( bool toggleState ) =>
14031403 {
1404- if ( ReplayFiles . currentIndex != - 1 )
1404+ if ( ReplayFiles . explorer . currentIndex != - 1 )
14051405 {
14061406 replaySettings . OnRenamePressed ( ! toggleState ) ;
14071407 }
@@ -1727,7 +1727,7 @@ public void SaveReplayBuffer()
17271727
17281728 public void LoadSelectedReplay ( )
17291729 {
1730- if ( ReplayFiles . currentIndex == - 1 )
1730+ if ( ReplayFiles . explorer . currentIndex == - 1 )
17311731 {
17321732 ReplayError ( "Could not find file." ) ;
17331733 return ;
@@ -1814,7 +1814,7 @@ public void LoadSelectedReplay()
18141814 MelonCoroutines . Start (
18151815 Utilities . LoadMap ( sceneIndex , 2.5f , ( ) =>
18161816 {
1817- LoadReplay ( ReplayFiles . currentReplayPath ) ;
1817+ LoadReplay ( ReplayFiles . explorer . CurrentReplayPath ) ;
18181818 ReplayFiles . ShowMetadata ( ) ;
18191819
18201820 switch ( targetScene )
@@ -1883,7 +1883,7 @@ public void LoadSelectedReplay()
18831883 if ( currentScene == "Park" )
18841884 MelonCoroutines . Start ( DelayedParkLoad ( ) ) ;
18851885 else
1886- LoadReplay ( ReplayFiles . currentReplayPath ) ;
1886+ LoadReplay ( ReplayFiles . explorer . CurrentReplayPath ) ;
18871887
18881888 SimpleScreenFadeInstance . Progress = 0f ;
18891889 }
@@ -3940,7 +3940,7 @@ public void Update()
39403940
39413941 if ( target == null && ! SceneManager . instance . IsLoadingScene )
39423942 {
3943- if ( ReplayFiles . metadataHidden && ReplayFiles . currentIndex != - 1 )
3943+ if ( ReplayFiles . metadataHidden && ReplayFiles . explorer . currentIndex != - 1 )
39443944 ReplayFiles . ShowMetadata ( ) ;
39453945
39463946 isReadingCrystal = false ;
0 commit comments