Skip to content

Commit

Permalink
Trigger some missing in-game events when switching level collections …
Browse files Browse the repository at this point in the history
…and level categories.
  • Loading branch information
halsafar committed Apr 3, 2021
1 parent 303a477 commit 4125e70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions SongBrowserPlugin/UI/Browser/BeatSaberUIController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public bool SelectLevelCategory(String levelCategoryName)
select x.levelCategory).ToList().IndexOf(category);

iconSegementController.SelectCellWithNumber(selectCellNumber);
//selectLeveCategoryViewController.LevelFilterCategoryIconSegmentedControlDidSelectCell(iconSegementController, selectCellNumber);
selectLeveCategoryViewController.LevelFilterCategoryIconSegmentedControlDidSelectCell(iconSegementController, selectCellNumber);
LevelFilteringNavigationController.UpdateSecondChildControllerContent(category);
//AnnotatedBeatmapLevelCollectionsViewController.RefreshAvailability();

Expand Down Expand Up @@ -283,7 +283,8 @@ public void SelectLevelCollection(String levelCollectionName)

Logger.Info("Selecting level collection: {0}", collection.collectionName);

LevelFilteringNavigationController.SelectAnnotatedBeatmapLevelCollection(collection as IBeatmapLevelPack);
LevelFilteringNavigationController.SelectAnnotatedBeatmapLevelCollection(collection as IBeatmapLevelPack);
LevelFilteringNavigationController.HandleAnnotatedBeatmapLevelCollectionsViewControllerDidSelectAnnotatedBeatmapLevelCollection(collection);

Logger.Debug("Done selecting level collection!");
}
Expand Down

0 comments on commit 4125e70

Please sign in to comment.