[+] Make ForceAsServer and ForceFreePlay individual components

This commit is contained in:
Clansty
2024-08-22 20:17:26 +08:00
parent ffe3843747
commit d58fe84439
7 changed files with 47 additions and 26 deletions

View File

@@ -0,0 +1,14 @@
using HarmonyLib;
namespace AquaMai.Fix;
public class ForceFreePlay
{
[HarmonyPrefix]
[HarmonyPatch(typeof(Manager.Credit), "IsFreePlay")]
private static bool PreIsFreePlay(ref bool __result)
{
__result = true;
return false;
}
}