private static void refreshAvailableLobbies() { lobbies = new Dictionary <CSteamID, LobbyPacket>(); if (refresh) { refresh.interactable = true; } SteamAPI.RequestLobbies(); }
private static void refreshAvailableLobbies() { lobbies = new Dictionary <CSteamID, LobbyInfo>(); if (refresh) { refresh.interactable = true; } if (!sorting) { SteamAPI.RequestLobbies(); } else { SteamAPI.RequestAvailableLobbies(); } }