mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix for GOG handler checking steam IDs instead of GOG IDs
This commit is contained in:
parent
ad6f398fcf
commit
d4a7bc5ae4
@ -106,12 +106,10 @@ namespace Wabbajack.Common.StoreHandlers
|
||||
|
||||
var gameMeta = GameRegistry.Games.Values.FirstOrDefault(g =>
|
||||
{
|
||||
return g.GOGIDs != null
|
||||
&& (g.SteamIDs?.Contains(gameID) ?? false)
|
||||
&& (g.RequiredFiles?.TrueForAll(file => File.Exists(Path.Combine(game.Path, file))) ??
|
||||
true);
|
||||
return (g.GOGIDs?.Contains(gameID) ?? false)
|
||||
&& (g.RequiredFiles?.TrueForAll(file => File.Exists(Path.Combine(game.Path, file))) ?? true);
|
||||
});
|
||||
|
||||
|
||||
if (gameMeta == null)
|
||||
{
|
||||
Utils.Log($"GOG Game \"{gameName}\"({gameID}) is not supported, skipping");
|
||||
|
Loading…
Reference in New Issue
Block a user