void AcceptMatch(bool accept, LobbyMessageInfo info) { LobbyPlayer player = LobbyServer.GetLobbyPlayer(info); if (player.instanceAwaitingAccept == null) { return; } if (accept) { player.AcceptMatch(); } else { player.DenyMatch(); } }