Example #1
0
 static bool Prefix(UIElement __instance)
 {
     if (!NetworkMatch.IsTeamMode(NetworkMatch.GetMode()) || (MPTeams.NetworkMatchTeamCount == 2 && NetworkMatch.m_players.Count <= 8))
     {
         return(true);
     }
     if (GameManager.m_local_player.m_hitpoints < 0f)
     {
         MPTeams.DrawPostgame(__instance);
     }
     return(false);
 }