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