Skip to content

Commit 1b44b19

Browse files
what are you doing there silly
1 parent ea982b3 commit 1b44b19

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

NoteTweaks/Patches/NoteArrowPatch.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ internal class NotePhysicalTweaks
2121
private static readonly Texture2D OriginalDotGlowTexture = Resources.FindObjectsOfTypeAll<Texture2D>().ToList().First(x => x.name == "NoteCircleBakedGlow");
2222
private static readonly Texture2D ReplacementDotGlowTexture = Utils.Textures.PrepareTexture(OriginalDotGlowTexture);
2323

24+
[HarmonyPatch(typeof(StandardLevelScenesTransitionSetupDataSO), "Finish")]
25+
[HarmonyPostfix]
26+
private static void GetRidOfFunnySphere(StandardLevelScenesTransitionSetupDataSO __instance)
27+
{
28+
if (DotObject != null)
29+
{
30+
Object.DestroyImmediate(DotObject);
31+
}
32+
}
33+
2434
// thanks BeatLeader
2535
[HarmonyPatch]
2636
internal class StandardLevelScenesTransitionSetupDataPatch

0 commit comments

Comments
 (0)