This commit is contained in:
Tyfon
2024-04-19 16:15:15 -07:00
parent 15fe18262f
commit 972045c793
2 changed files with 7 additions and 2 deletions

View File

@@ -12,6 +12,12 @@ namespace UIFixes
{ {
public static bool MoveForward; public static bool MoveForward;
public static void Enable()
{
new CloseScreenInterruptionPatch().Enable();
new ConfirmDiscardPatch().Enable();
}
public class CloseScreenInterruptionPatch : ModulePatch public class CloseScreenInterruptionPatch : ModulePatch
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod()

View File

@@ -9,8 +9,7 @@ namespace UIFixes
{ {
Settings.Init(Config); Settings.Init(Config);
new EditBuildScreenPatch.CloseScreenInterruptionPatch().Enable(); EditBuildScreenPatch.Enable();
new EditBuildScreenPatch.ConfirmDiscardPatch().Enable();
new TransferConfirmPatch().Enable(); new TransferConfirmPatch().Enable();
new MailReceiveAllPatch().Enable(); new MailReceiveAllPatch().Enable();
ScrollPatches.Enable(); ScrollPatches.Enable();