Skip to content

Commit

Permalink
Update to 1.37.3
Browse files Browse the repository at this point in the history
  • Loading branch information
NuggoDEV committed Aug 19, 2024
1 parent c633c1e commit 3046bcf
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
10 changes: 10 additions & 0 deletions Counters+/Counters+.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\BeatSaber.PerformancePresets.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="BeatSaber.Settings, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<Private>False</Private>
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\BeatSaber.Settings.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="BGLib.AppFlow, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\BGLib.AppFlow.dll</HintPath>
Expand Down Expand Up @@ -108,6 +113,11 @@
<HintPath>$(BeatSaberDir)\Libs\Hive.Versioning.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="MediaLoader, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<Private>False</Private>
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\MediaLoader.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Microsoft.CSharp.dll</HintPath>
<Private>False</Private>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using UnityEngine;
using VRUIControls;
using Zenject;
using BeatSaber.GameSettings;
using BeatSaber.Settings;
using static CountersPlus.Utils.Accessors;

namespace CountersPlus.UI.FlowCoordinators
Expand All @@ -34,7 +34,7 @@ public class CountersPlusSettingsFlowCoordinator : FlowCoordinator
[Inject] private CountersPlusBlankViewController blank;
[Inject] private CountersPlusMainScreenNavigationController mainScreenNavigation;
[Inject] private CountersPlusSettingSectionSelectionViewController settingsSelection;
[Inject] private GraphicSettingsHandler graphicSettingsHandler;
[Inject] private SettingsManager settingsManager;
[Inject] private SongPreviewPlayer songPreviewPlayer;

private HashSet<string> persistentScenes = new HashSet<string>();
Expand Down Expand Up @@ -107,7 +107,7 @@ static void DisableAllNonImportantObjects(Transform original, Transform source,
// Gotta do some jank to re-activate the Root Container
menuEnvironmentManager.transform.root.gameObject.SetActive(true);
if (graphicSettingsHandler.instance.customPreset.screenDisplacementEffects)
if (settingsManager.settings.quality.screenDisplacementEffects)
{
// Disable menu shockwave to forget about rendering order problems
menuShockwave.gameObject.SetActive(false);
Expand Down Expand Up @@ -179,7 +179,7 @@ private void TransitionToMenu()
vrInputModule.gameObject.SetActive(true);

// This took a long time to figure out.
if (graphicSettingsHandler.instance.customPreset.screenDisplacementEffects)
if (settingsManager.settings.quality.screenDisplacementEffects)
{
menuShockwave.gameObject.SetActive(true);
}
Expand Down
5 changes: 1 addition & 4 deletions Counters+/Utils/Accessors.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using BeatSaber.GameSettings;
using HMUI;
using IPA.Utilities;
using IPA.Utilities;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;

namespace CountersPlus.Utils
{
Expand Down
10 changes: 5 additions & 5 deletions Counters+/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"id": "Counters+",
"name": "Counters+",
"author": "Caeden117",
"version": "2.3.7",
"version": "2.3.8",
"description": "A suite of enhancements for Beat Saber's UI.",
"icon": "CountersPlus.UI.Images.Logo.png",
"gameVersion": "1.36.2",
"gameVersion": "1.37.3",
"dependsOn": {
"BSIPA": "^4.3.3",
"BeatSaberMarkupLanguage": "^1.11.0",
"SiraUtil": "^3.1.8"
"BSIPA": "^4.3.5",
"BeatSaberMarkupLanguage": "^1.11.4",
"SiraUtil": "^3.1.11"
},
"features": {
"IPA.DefineFeature": {
Expand Down

0 comments on commit 3046bcf

Please sign in to comment.