From 3babd24c246c6bcb49de331ec2d11abbe9e573e5 Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Sat, 16 Oct 2021 14:51:25 -0600 Subject: [PATCH] Fix game locator on non Windows systems --- Wabbajack.Downloaders.GameFile/GameLocator.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Wabbajack.Downloaders.GameFile/GameLocator.cs b/Wabbajack.Downloaders.GameFile/GameLocator.cs index 7f74ba62..c882ed68 100644 --- a/Wabbajack.Downloaders.GameFile/GameLocator.cs +++ b/Wabbajack.Downloaders.GameFile/GameLocator.cs @@ -28,17 +28,17 @@ namespace Wabbajack.Downloaders.GameFile if (OperatingSystem.IsWindows()) { _origin = new OriginHandler(true, false, logger); + _gog = new GOGHandler(logger); + + _egs = new EGSHandler(logger); } - _gog = new GOGHandler(logger); - _egs = new EGSHandler(logger); - _locationCache = new Dictionary(); _steam.FindAllGames(); _origin?.FindAllGames(); - _gog.FindAllGames(); - _egs.FindAllGames(); + _gog?.FindAllGames(); + _egs?.FindAllGames(); } public AbsolutePath GameLocation(Game game)