Skip to content

Commit

Permalink
Merge pull request #7 from JigglyJoogins/master
Browse files Browse the repository at this point in the history
Removed HiRez loginserver option
  • Loading branch information
ToddButler93 authored May 11, 2023
2 parents 832c8ae + 0c9470a commit 2a32ebc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ enum LoginServerMode
{
Community,
PUG,
HiRez,
// HiRez,
Custom,
}

Expand Down
10 changes: 5 additions & 5 deletions MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2a32ebc

Please sign in to comment.