public static void Prefix(ref CM_PageLoadout __instance)
 {
     //Disable matchmake buttons behind players
     foreach (CM_PlayerLobbyBar playerLobbyBar in __instance.m_playerLobbyBars)
     {
         playerLobbyBar.m_matchmakeButton.SetOnBtnPressCallback(null);
         playerLobbyBar.m_matchmakeButton.SetText("DISABLED");
     }
 }
        public static void Prefix(ref CM_PageLoadout __instance)
        {
            //Replace text blurb on the top right in lobby
            __instance.m_movingContentHolder.Find("ShareServerId/ShareText").gameObject.GetComponent <TextMeshPro>()
            .SetText("<color=red><b>Do not play modded content on the official GTFO server or online matchmake lobbies.</b></color>\n\nFeel free to join the unofficial discord server linked below and ask people to play.");

            //Replace discord button text and link
            __instance.m_discordButton.SetText("Mod Server");
            __instance.m_discordButton.OnBtnPressCallback = (Action <int>)((id) => Application.OpenURL("https://discord.com/invite/rRMPtv4FAh"));
        }