Skip to content

Commit

Permalink
Update for game version 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiswkearney committed Mar 25, 2020
1 parent 28ec915 commit e302621
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions HitScoreVisualizer/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public struct SegmentJudgment
private const string DEFAULT_JSON = @"{
""majorVersion"": 2,
""minorVersion"": 4,
""patchVersion"": 2,
""patchVersion"": 3,
""isDefaultConfig"": true,
""displayMode"": ""format"",
""judgments"": [
Expand Down Expand Up @@ -319,9 +319,9 @@ public static void load()
loaded.patchVersion = 1;
isDirty = true;
}
if (loaded.majorVersion == 2 && loaded.minorVersion == 4 && loaded.patchVersion == 1)
if (loaded.majorVersion == 2 && loaded.minorVersion == 4 && loaded.patchVersion < 3)
{
loaded.patchVersion = 2;
loaded.patchVersion = 3;
isDirty = true;
}
instance = loaded;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static bool Prefix(SaberSwingRatingCounter saberSwingRatingCounter, FlyingScoreE
{
if (Config.instance.doIntermediateUpdates)
{
ScoreController.RawScoreWithoutMultiplier(____noteCutInfo, out int before, out int after, out int accuracy);
ScoreModel.RawScoreWithoutMultiplier(____noteCutInfo, out int before, out int after, out int accuracy);
int total = before + after + accuracy;
Config.judge(__instance, ____noteCutInfo, saberSwingRatingCounter, total, before, after, accuracy);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static void Postfix(FlyingScoreEffect __instance, ref Color ____color, NoteCutIn
void judge(SaberSwingRatingCounter counter)
{

ScoreController.RawScoreWithoutMultiplier(noteCutInfo, out int before, out int after, out int accuracy);
ScoreModel.RawScoreWithoutMultiplier(noteCutInfo, out int before, out int after, out int accuracy);
int total = before + after + accuracy;
Config.judge(__instance, noteCutInfo, counter, total, before, after, accuracy);

Expand Down
4 changes: 2 additions & 2 deletions HitScoreVisualizer/HitScoreVisualizer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Beat Saber\Beat Saber_Data\Managed\IPA.Loader.dll</HintPath>
</Reference>
<Reference Include="MainAssembly">
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Beat Saber\Beat Saber_Data\Managed\MainAssembly.dll</HintPath>
<Reference Include="Main">
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Beat Saber\Beat Saber_Data\Managed\Main.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json.12.0.0.0">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Beat Saber\Libs\Newtonsoft.Json.12.0.0.0.dll</HintPath>
Expand Down
4 changes: 2 additions & 2 deletions HitScoreVisualizer/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ namespace HitScoreVisualizer
public class Plugin : IPlugin
{
public string Name => "HitScoreVisualizer";
public string Version => "2.4.2";
public string Version => "2.4.3";

internal const int majorVersion = 2;
internal const int minorVersion = 4;
internal const int patchVersion = 2;
internal const int patchVersion = 3;

public void OnApplicationStart()
{
Expand Down
4 changes: 2 additions & 2 deletions HitScoreVisualizer/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,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.4.2.0")]
[assembly: AssemblyFileVersion("2.4.2.0")]
[assembly: AssemblyVersion("2.4.3.0")]
[assembly: AssemblyFileVersion("2.4.3.0")]

0 comments on commit e302621

Please sign in to comment.