Fixed problem in ImGui Menu Demo

This commit is contained in:
techiesplash 2023-01-15 14:41:11 -08:00
parent bae2e139f9
commit 3ca659acb1

View file

@ -23,12 +23,12 @@ public class IMGUIMenuDemo : MonoBehaviour, IMatchmaker
private void Refresh() private void Refresh()
{ {
IMatchmaker.Connect(); IMatchmaker.Connect();
/* var x = IMatchmaker.GetAllLobbyIdsByAttribute("public", "True"); var x = IMatchmaker.GetAllLobbyIdsByAttribute("public", "True");
foreach (var y in x) foreach (var y in x)
{ {
ServerList.Add(IMatchmaker.GetLobbyAttribute(y, "_auto_ip")); ServerList.Add(IMatchmaker.GetLobbyAttribute(y, "_auto_ip"));
}*/ }
// IMatchmaker.Disconnect(); IMatchmaker.Disconnect();
} }
private void OnGUI() private void OnGUI()