Merge pull request #1771 from LostDragonist/github_fix

Fix getting game files when build server is down
This commit is contained in:
Timothy Baldridge 2021-12-18 10:39:30 -07:00 committed by GitHub
commit d78c89e702
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,9 +155,6 @@ using Wabbajack.Lib.Downloaders;
public static async Task<Archive[]> GetExistingGameFiles(WorkQueue queue, Game game) public static async Task<Archive[]> GetExistingGameFiles(WorkQueue queue, Game game)
{ {
if(BuildServerStatus.IsBuildServerDown)
return new Archive[0];
var client = await GetClient();
var metaData = game.MetaData(); var metaData = game.MetaData();
var results = await GetGameFilesFromGithub(game, metaData.InstalledVersion); var results = await GetGameFilesFromGithub(game, metaData.InstalledVersion);