Skip to content

Commit

Permalink
oops (#25)
Browse files Browse the repository at this point in the history
(cherry picked from commit 520c95e)
  • Loading branch information
TheBlackParrot committed Feb 23, 2025
1 parent 583d653 commit e92c53f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion NoteTweaks/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<PropertyGroup>
<AssemblyName>NoteTweaks</AssemblyName>
<Authors>TheBlackParrot</Authors>
<Version>0.7.6</Version>
<Version>0.7.7</Version>
<GameVersion>1.34.2</GameVersion>
<Description>Change various aspects of the default note</Description>
<ProjectHome>https://github.com/TheBlackParrot/NoteTweaks</ProjectHome>
Expand Down
6 changes: 3 additions & 3 deletions NoteTweaks/Patches/NoteArrowPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ internal static void Postfix(ref BurstSliderGameNoteController __instance, ref B
}
}

if (Config.EnableNoteOutlines)
if (Config.EnableNoteOutlines && !IsUsingHiddenTypeModifier)
{
Outlines.AddOutlineObject(chainRoot, Outlines.InvertedChainMesh);
Transform noteOutline = chainRoot.Find("NoteOutline");
Expand Down Expand Up @@ -404,7 +404,7 @@ internal static void Postfix(ref GameNoteController __instance, ref BoxCuttableB
}
}

if (Config.EnableNoteOutlines)
if (Config.EnableNoteOutlines && !IsUsingHiddenTypeModifier)
{
Outlines.AddOutlineObject(noteRoot, __instance.gameplayType == NoteData.GameplayType.BurstSliderHead ? Outlines.InvertedChainHeadMesh : Outlines.InvertedNoteMesh);
Transform noteOutline = noteRoot.Find("NoteOutline");
Expand Down Expand Up @@ -781,7 +781,7 @@ internal static void Postfix(CutoutEffect __instance, in float cutout, in Vector
return;
}

if (__instance.transform.name == "NoteCube" && Config.EnableNoteOutlines)
if (__instance.transform.name == "NoteCube" && Config.EnableNoteOutlines && !IsUsingHiddenTypeModifier)
{
Transform noteOutlineTransform = __instance.transform.Find("NoteOutline");
if (!noteOutlineTransform)
Expand Down
2 changes: 1 addition & 1 deletion NoteTweaks/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "NoteTweaks",
"name": "NoteTweaks",
"author": "TheBlackParrot",
"version": "0.7.6+1.34.2",
"version": "0.7.7+1.34.2",
"description": "Change various aspects of the default note",
"gameVersion": "1.34.2",
"dependsOn": {
Expand Down

0 comments on commit e92c53f

Please sign in to comment.