Skip to content

Commit

Permalink
[F] reset HideSelfMadeCharts when enter login screen
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Sep 7, 2024
1 parent 91238c3 commit d217436
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions AquaMai/UX/HideSelfMadeCharts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,12 @@ public static void MusicSelectProcessOnUpdate(ref MusicSelectProcess __instance)
_keyPressFrames = 0;
}
}

[HarmonyPostfix]
[HarmonyPatch(typeof(EntryProcess), "OnStart")]
public static void EntryProcessOnStart(ref EntryProcess __instance)
{
// reset status on login
isShowSelfMadeCharts = true;
}
}

0 comments on commit d217436

Please sign in to comment.