mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-14 16:57:58 +08:00
[+] Make ForceAsServer and ForceFreePlay individual components
This commit is contained in:
14
AquaMai/Fix/ForceFreePlay.cs
Normal file
14
AquaMai/Fix/ForceFreePlay.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user