private static bool Prefix(ref int __result) { if (NetworkMatch.GetMode() != CTF.MatchModeCTF) { return(true); } __result = MPTeams.HighestScore(); return(false); }
static bool Prefix(ref int __result) { if (NetworkMatch.GetMode() == MatchMode.ANARCHY || MPTeams.NetworkMatchTeamCount == 2) { return(true); } __result = MPTeams.HighestScore(); return(false); }