Skip to content

Commit

Permalink
Fix patch not modifying ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed May 23, 2024
1 parent e841bd0 commit 186df30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 186df30

Please sign in to comment.