From 0c9470ad5b39f64567b8d8b8629f32a6630588f8 Mon Sep 17 00:00:00 2001 From: jagle Date: Wed, 10 May 2023 20:37:28 -0500 Subject: [PATCH] Removed HiRez loginserver option Causes confusion due to the servers being dead and people thinking their game is broken Revert "Removed HiRez loginserver option" This reverts commit ca389c766dcf3da396109e8303a353f513826090. Removed HiRez loginserver option Causes confusion due to the servers being dead and people thinking their game is broken --- Config.cs | 2 +- MainWindow.xaml.cs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Config.cs b/Config.cs index 4222115..5536956 100644 --- a/Config.cs +++ b/Config.cs @@ -17,7 +17,7 @@ enum LoginServerMode { Community, PUG, - HiRez, +// HiRez, Custom, } diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 04cf48d..df1f0a9 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -255,11 +255,11 @@ private void LaunchGame() Config config = LauncherConfig; string loginServerHost = config.LoginServer.CustomLoginServerHost; - if (config.LoginServer.LoginServer == LoginServerMode.HiRez) - { - loginServerHost = TAModsNews.LoginServers.Find((ls) => ls.Name == "HiRez").Address; - } - else if (config.LoginServer.LoginServer == LoginServerMode.Community) + // if (config.LoginServer.LoginServer == LoginServerMode.HiRez) + // { + // loginServerHost = TAModsNews.LoginServers.Find((ls) => ls.Name == "HiRez").Address; + // } + if (config.LoginServer.LoginServer == LoginServerMode.Community) { loginServerHost = TAModsNews.LoginServers.Find((ls) => ls.Name == "Community").Address; }