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:
parent
076eb3b69b
commit
01ff7cb093
@ -104,11 +104,7 @@ namespace Wabbajack.Common.StoreHandlers
|
||||
Path = path
|
||||
};
|
||||
|
||||
var gameMeta = GameRegistry.Games.Values.FirstOrDefault(g =>
|
||||
{
|
||||
return (g.GOGIDs?.Contains(gameID) ?? false)
|
||||
&& (g.RequiredFiles?.TrueForAll(file => File.Exists(Path.Combine(game.Path, file))) ?? true);
|
||||
});
|
||||
var gameMeta = GameRegistry.Games.Values.FirstOrDefault(g => (g.GOGIDs?.Contains(gameID) ?? false));
|
||||
|
||||
if (gameMeta == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user