mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Only check GOGID for GOG games until further investigation
This commit is contained in:
@ -104,11 +104,7 @@ namespace Wabbajack.Common.StoreHandlers
|
|||||||
Path = path
|
Path = path
|
||||||
};
|
};
|
||||||
|
|
||||||
var gameMeta = GameRegistry.Games.Values.FirstOrDefault(g =>
|
var gameMeta = GameRegistry.Games.Values.FirstOrDefault(g => (g.GOGIDs?.Contains(gameID) ?? false));
|
||||||
{
|
|
||||||
return (g.GOGIDs?.Contains(gameID) ?? false)
|
|
||||||
&& (g.RequiredFiles?.TrueForAll(file => File.Exists(Path.Combine(game.Path, file))) ?? true);
|
|
||||||
});
|
|
||||||
|
|
||||||
if (gameMeta == null)
|
if (gameMeta == null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user