Skip to content

Commit

Permalink
[F] SinglePlayer without remove mask
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Oct 3, 2024
1 parent 3a97f76 commit 271ef9b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions AquaMai/Fix/BasicFix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ private static bool GetMouseButtonDown(ref bool __result, int button)
return false;
}

[HarmonyPrefix]
[HarmonyPatch(typeof(NetHttpClient), "CheckServerHash")]
private static bool CheckServerHash(ref bool __result)
{
__result = true;
return false;
}

[HarmonyPrefix]
[HarmonyPatch(typeof(GameManager), "CalcSpecialNum")]
private static bool CalcSpecialNum(ref int __result)
Expand All @@ -81,4 +73,12 @@ private static void FixLevelShift(MusicLevelID levelID, ref SpriteCounter ____di
break;
}
}

[HarmonyPrefix]
[HarmonyPatch(typeof(NetHttpClient), "CheckServerHash")]
private static bool CheckServerHash(ref bool __result)
{
__result = true;
return false;
}
}
1 change: 1 addition & 0 deletions AquaMai/UX/SinglePlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public static void LateInitialize(MonoBehaviour gameMainObject, ref Transform le
{
left.transform.position = Vector3.zero;
right.localScale = Vector3.zero;
GameObject.Find("Mask").transform.position = new Vector3(540f, 0f, 0f);
}

[HarmonyPrefix]
Expand Down

0 comments on commit 271ef9b

Please sign in to comment.