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,10 +106,8 @@ namespace Wabbajack.Common.StoreHandlers
|
|||||||
|
|
||||||
var gameMeta = GameRegistry.Games.Values.FirstOrDefault(g =>
|
var gameMeta = GameRegistry.Games.Values.FirstOrDefault(g =>
|
||||||
{
|
{
|
||||||
return g.GOGIDs != null
|
return (g.GOGIDs?.Contains(gameID) ?? false)
|
||||||
&& (g.SteamIDs?.Contains(gameID) ?? false)
|
&& (g.RequiredFiles?.TrueForAll(file => File.Exists(Path.Combine(game.Path, file))) ?? true);
|
||||||
&& (g.RequiredFiles?.TrueForAll(file => File.Exists(Path.Combine(game.Path, file))) ??
|
|
||||||
true);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (gameMeta == null)
|
if (gameMeta == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user