Skip to content

Commit bcc01ca

Browse files
committed
[O] 移除强制闭店
1 parent 2ac573d commit bcc01ca

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

AquaMai.Mods/Fix/DisableReboot.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,6 @@ public static bool UpdateTimes(MaintenanceTimer __instance)
8282
return false;
8383
}
8484

85-
[HarmonyPrefix]
86-
[HarmonyPatch(typeof(ClosingTimer), "IsShowRemainingMinutes")]
87-
public static bool IsShowRemainingMinutes(ref bool __result)
88-
{
89-
__result = false;
90-
return false;
91-
}
92-
93-
[HarmonyPrefix]
94-
[HarmonyPatch(typeof(ClosingTimer), "IsClosed")]
95-
public static bool IsClosed(ref bool __result)
96-
{
97-
__result = false;
98-
return false;
99-
}
100-
10185
[EnableIf(nameof(forceOfflineTimerExists))]
10286
[HarmonyPrefix]
10387
[HarmonyPatch(typeof(MaintenanceTimer), "ForceOfflineRemainingMinutes", MethodType.Getter)]

0 commit comments

Comments
 (0)