diff --git a/Patches/FixFleaPatches.cs b/Patches/FixFleaPatches.cs index dbd713e..1c76278 100644 --- a/Patches/FixFleaPatches.cs +++ b/Patches/FixFleaPatches.cs @@ -17,7 +17,7 @@ namespace UIFixes new ToggleOnOpenPatch().Enable(); new OfferItemFixMaskPatch().Enable(); - new BlockActionsClickThroughPatch().Enable(); + new OfferViewTweaksPatch().Enable(); } public class DoNotToggleOnMouseOverPatch : ModulePatch @@ -72,7 +72,7 @@ namespace UIFixes } } - public class BlockActionsClickThroughPatch : ModulePatch + public class OfferViewTweaksPatch : ModulePatch { protected override MethodBase GetTargetMethod() { @@ -80,7 +80,7 @@ namespace UIFixes } [PatchPostfix] - public static void Postfix(OfferView __instance) + public static void Postfix(OfferView __instance, GameObject ____expirationTimePanel) { // Intercept clicks on the actions area var blocker = __instance.transform.Find("Actions").gameObject.GetOrAddComponent