Skip to content

Commit 7c760e6

Browse files
v2.1.3; minor bug fixes
1 parent a6ed366 commit 7c760e6

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

HitScoreVisualizer/Config.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public struct SegmentJudgment
106106
private const string DEFAULT_JSON = @"{
107107
""majorVersion"": 2,
108108
""minorVersion"": 1,
109-
""patchVersion"": 2,
109+
""patchVersion"": 3,
110110
""isDefaultConfig"": true,
111111
""displayMode"": ""format"",
112112
""judgments"": [
@@ -278,9 +278,9 @@ public static void load()
278278
loaded.patchVersion = 0;
279279
isDirty = true;
280280
}
281-
if (loaded.majorVersion == 2 && loaded.minorVersion == 1 && loaded.patchVersion < 2)
281+
if (loaded.majorVersion == 2 && loaded.minorVersion == 1 && loaded.patchVersion < 3)
282282
{
283-
loaded.patchVersion = 2;
283+
loaded.patchVersion = 3;
284284
isDirty = true;
285285
}
286286
if (isDirty) save();

HitScoreVisualizer/Harmony Patches/FlyingScoreTextEffectInitAndPresent.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
namespace HitScoreVisualizer.Harmony_Patches
1010
{
11-
/*
1211
[HarmonyPatch(typeof(FlyingScoreTextEffect), "InitAndPresent",
1312
new Type[] {
1413
typeof(NoteCutInfo),
@@ -20,10 +19,9 @@ class FlyingScoreTextEffectInitAndPresent
2019
{
2120
static void Postfix(SaberAfterCutSwingRatingCounter saberAfterCutSwingRatingCounter, FlyingScoreTextEffect __instance, ref Color ____color, NoteCutInfo noteCutInfo)
2221
{
23-
ScoreController.ScoreWithoutMultiplier(noteCutInfo, saberAfterCutSwingRatingCounter, out int before, out int after);
24-
int total = before + after;
25-
Config.judge(__instance, noteCutInfo, saberAfterCutSwingRatingCounter, ref ____color, total);
22+
ScoreController.ScoreWithoutMultiplier(noteCutInfo, saberAfterCutSwingRatingCounter, out int before_plus_acc, out int after, out int accuracy);
23+
int total = before_plus_acc + after;
24+
Config.judge(__instance, noteCutInfo, saberAfterCutSwingRatingCounter, ref ____color, total, before_plus_acc - accuracy, after, accuracy);
2625
}
2726
}
28-
*/
2927
}

HitScoreVisualizer/Plugin.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ namespace HitScoreVisualizer
99
public class Plugin : IPlugin
1010
{
1111
public string Name => "HitScoreVisualizer";
12-
public string Version => "2.1.2";
12+
public string Version => "2.1.3";
1313

1414
internal const int majorVersion = 2;
1515
internal const int minorVersion = 1;
16-
internal const int patchVersion = 2;
16+
internal const int patchVersion = 3;
1717

1818
public void OnApplicationStart()
1919
{

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
2.0.2: Bug fixes and performance improvements. If you've been noticing lag, try disabling the fade option on all judgments in the config.
33
2.1.0: Added display mode "format" (see below).
44
2.1.2: Actually bump version number this time; minor fixes to default config
5+
2.1.3: Minor bug fix
56
***
67
Colors the score popups that appear when hitting notes. Also adds judgment text above (or below) the score.
78

0 commit comments

Comments
 (0)