From 186df30814b7bed86e2ef876be2fa845bb0e301d Mon Sep 17 00:00:00 2001 From: Lacyway <20912169+Lacyway@users.noreply.github.com> Date: Thu, 23 May 2024 13:06:56 +0200 Subject: [PATCH] Fix patch not modifying ref --- .../Coop/Patches/AbstractGame/AbstractGame_InRaid_Patch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fika.Core/Coop/Patches/AbstractGame/AbstractGame_InRaid_Patch.cs b/Fika.Core/Coop/Patches/AbstractGame/AbstractGame_InRaid_Patch.cs index 43043ca0..8a5f9a6e 100644 --- a/Fika.Core/Coop/Patches/AbstractGame/AbstractGame_InRaid_Patch.cs +++ b/Fika.Core/Coop/Patches/AbstractGame/AbstractGame_InRaid_Patch.cs @@ -16,7 +16,7 @@ protected override MethodBase GetTargetMethod() } [PatchPrefix] - private static bool PreFix(AbstractGame __instance, bool __result) + private static bool PreFix(AbstractGame __instance, ref bool __result) { __result = __instance is CoopGame; return false;