Don't overwrite kv in dictionary

This commit is contained in:
erri120 2021-03-26 13:14:17 +01:00
parent 03b6e6b0d1
commit 9670084cf3
No known key found for this signature in database
GPG Key ID: 7FA9556C936B847C

View File

@ -87,8 +87,11 @@ namespace Wabbajack.Common.StoreHandlers
var list = enumerable.ToList();
if (list.Count == 0) continue;
var game = list.First().Key;
if (Games.ContainsKey(game)) continue;
Games.Add(list.First().Key, storeGame);
Games.Add(game, storeGame);
}
}