From b4a140c346d556e7873cc36065c36d64a32e601f Mon Sep 17 00:00:00 2001 From: still222 <118853487+still222@users.noreply.github.com> Date: Tue, 28 Oct 2025 08:21:46 +0500 Subject: [PATCH] Update SetMapTime.cs --- Source/Client/AsyncTime/SetMapTime.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Source/Client/AsyncTime/SetMapTime.cs b/Source/Client/AsyncTime/SetMapTime.cs index de5bcc73..538f482c 100644 --- a/Source/Client/AsyncTime/SetMapTime.cs +++ b/Source/Client/AsyncTime/SetMapTime.cs @@ -188,19 +188,6 @@ public static void Postfix(Map map, CompCauseGameCondition __instance, ref GameC } } - // This exists purely to fix load issues. Some fake ticks cause condition duplication on load. - [HarmonyPatch(typeof(CompCauseGameCondition), nameof(CompCauseGameCondition.CompTick))] - public static class Patch_CompCauseGameCondition_CompTick - { - public static bool Prefix() - { - if (Multiplayer.Client == null || !Multiplayer.GameComp.asyncTime) - return true; // vanilla - - return Multiplayer.LocalServer.FullyStarted; - } - } - [HarmonyPatch(typeof(CompCauseGameCondition), nameof(CompCauseGameCondition.EnforceConditionOn))] static class MapConditionCauserMapTime {