From 49cf7df857fe8820f5944dbdd486183d062f19ce Mon Sep 17 00:00:00 2001 From: Riley Prince <91820572+NuggoDEV@users.noreply.github.com> Date: Fri, 3 Jan 2025 13:51:03 +1030 Subject: [PATCH] Update for 1.40.0 --- Counters+/Counters/CutCounter.cs | 6 +++--- Counters+/Properties/AssemblyInfo.cs | 4 ++-- .../CountersPlusSettingsFlowCoordinator.cs | 3 +++ Counters+/manifest.json | 8 ++++---- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Counters+/Counters/CutCounter.cs b/Counters+/Counters/CutCounter.cs index 190c6f5..eb5e370 100644 --- a/Counters+/Counters/CutCounter.cs +++ b/Counters+/Counters/CutCounter.cs @@ -84,21 +84,21 @@ private void ScoreController_scoringForNoteFinishedEvent(ScoringElement scoringE cutCountForHand[1]++; cutCountForHand[2]++; break; - case NoteData.ScoringType.SliderHead when Settings.IncludeArcs: + case NoteData.ScoringType.ArcHead when Settings.IncludeArcs: totalScoresForHand[0] += beforeCut; totalScoresForHand[2] += cutDistance; cutCountForHand[0]++; cutCountForHand[2]++; break; - case NoteData.ScoringType.SliderTail when Settings.IncludeArcs: + case NoteData.ScoringType.ArcTail when Settings.IncludeArcs: totalScoresForHand[1] += afterCut; totalScoresForHand[2] += cutDistance; cutCountForHand[1]++; cutCountForHand[2]++; break; - case NoteData.ScoringType.BurstSliderHead when Settings.IncludeChains: + case NoteData.ScoringType.ChainHead when Settings.IncludeChains: totalScoresForHand[0] += beforeCut; totalScoresForHand[2] += cutDistance; diff --git a/Counters+/Properties/AssemblyInfo.cs b/Counters+/Properties/AssemblyInfo.cs index 99a4728..0caab3d 100644 --- a/Counters+/Properties/AssemblyInfo.cs +++ b/Counters+/Properties/AssemblyInfo.cs @@ -33,5 +33,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.3.10")] -[assembly: AssemblyFileVersion("2.3.10")] +[assembly: AssemblyVersion("2.3.11")] +[assembly: AssemblyFileVersion("2.3.11")] diff --git a/Counters+/UI/FlowCoordinators/CountersPlusSettingsFlowCoordinator.cs b/Counters+/UI/FlowCoordinators/CountersPlusSettingsFlowCoordinator.cs index 93a9677..a02d766 100644 --- a/Counters+/UI/FlowCoordinators/CountersPlusSettingsFlowCoordinator.cs +++ b/Counters+/UI/FlowCoordinators/CountersPlusSettingsFlowCoordinator.cs @@ -56,6 +56,9 @@ protected override void DidActivate(bool firstActivation, bool addedToHierarchy, ProvideInitialViewControllers(mainScreenNavigation, credits, null, settingsSelection); RefreshAllMockCounters(); + + // temp fix for menu env showing in settings + GameObject.Find("RootContainer/Wrapper/MenuEnvironmentManager/DefaultMenuEnvironment").SetActive(false); } public void DoSceneTransition(Action callback = null) diff --git a/Counters+/manifest.json b/Counters+/manifest.json index ddd5ba3..c8f24e9 100644 --- a/Counters+/manifest.json +++ b/Counters+/manifest.json @@ -3,14 +3,14 @@ "id": "Counters+", "name": "Counters+", "author": "Caeden117", - "version": "2.3.10", + "version": "2.3.11", "description": "A suite of enhancements for Beat Saber's UI.", "icon": "CountersPlus.UI.Images.Logo.png", - "gameVersion": "1.37.5", + "gameVersion": "1.40.0", "dependsOn": { "BSIPA": "^4.3.5", - "BeatSaberMarkupLanguage": "^1.12.1", - "SiraUtil": "^3.1.12" + "BeatSaberMarkupLanguage": "^1.12.5", + "SiraUtil": "^3.1.14" }, "features": { "IPA.DefineFeature": {