Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions AccessAbility.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="BeatSaber.ViewSystem">
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\BeatSaber.ViewSystem.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="BGLib.UnityExtension">
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\BGLib.UnityExtension.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="BSML">
<HintPath>$(BeatSaberDir)\Plugins\BSML.dll</HintPath>
<Private>False</Private>
Expand All @@ -62,6 +72,11 @@
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="DataModels">
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\DataModels.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="GameplayCore">
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\GameplayCore.dll</HintPath>
<Private>False</Private>
Expand Down
2 changes: 1 addition & 1 deletion HarmonyPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ private static bool Prefix()


[HarmonyPatch(typeof(PlatformLeaderboardsModel), "UploadScore")]
[HarmonyPatch(new Type[] { typeof(IDifficultyBeatmap), typeof(int), typeof(int), typeof(int), typeof(bool), typeof(int), typeof(int), typeof(int), typeof(int), typeof(float), typeof(GameplayModifiers) })]
[HarmonyPatch(new Type[] { typeof(BeatmapKey), typeof(int), typeof(int), typeof(int), typeof(bool), typeof(int), typeof(int), typeof(int), typeof(int), typeof(float), typeof(GameplayModifiers) })]
internal sealed class PlatformLeaderboardsModelPatch_2
{
private static bool Prefix()
Expand Down
6 changes: 3 additions & 3 deletions ModifierUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ internal sealed class ModifierUI : IInitializable, IDisposable, INotifyPropertyC

public void Initialize()
{
GameplaySetup.instance.AddTab("AccessAbility", "AccessAbility.ModifierUI.bsml", this, MenuType.All);
GameplaySetup.Instance.AddTab("AccessAbility", "AccessAbility.ModifierUI.bsml", this, MenuType.All);
Donate.Refresh_Text();
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Donate_Update_Dynamic)));
}

public void Dispose()
{
if (GameplaySetup.instance != null)
if (GameplaySetup.Instance != null)
{
GameplaySetup.instance.RemoveTab("AccessAbility");
GameplaySetup.Instance.RemoveTab("AccessAbility");
}
}

Expand Down