瀏覽代碼

Fix fetching level pack.

Halsafar 4 年之前
父節點
當前提交
86541a814c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      SongBrowserPlugin/UI/Browser/BeatSaberUIController.cs

+ 2 - 2
SongBrowserPlugin/UI/Browser/BeatSaberUIController.cs

@@ -124,12 +124,12 @@ namespace SongBrowser.DataAccess
         /// <returns></returns>
         private IBeatmapLevelPack GetCurrentSelectedLevelPack()
         {
-            if (LevelSelectionNavigationController == null)
+            if (LevelCollectionNavigationController == null)
             {
                 return null;
             }
 
-            var pack = LevelSelectionNavigationController.GetPrivateField<IBeatmapLevelPack>("_levelPack");
+            var pack = LevelCollectionNavigationController.GetPrivateField<IBeatmapLevelPack>("_levelPack");
             return pack;
         }