diff --git a/DatabaseUpdater/Program.cs b/DatabaseUpdater/Program.cs index e3b6594..8025b19 100644 --- a/DatabaseUpdater/Program.cs +++ b/DatabaseUpdater/Program.cs @@ -68,9 +68,8 @@ private static void Main(string[] args) JsonConvert.DefaultSettings = () => new JsonSerializerSettings {Converters = new List {new SemRangeConverter(), new SemVersionConverter()}}; _repo = new ModRepository("https://github.com/Deli-Collective/DeliCounter.Database/tree/main"); _ignoredMods = JsonConvert.DeserializeObject>(File.ReadAllText("ModRepository/ignore_updates.json")); - - lock (_queuedMods) - _queuedMods = new Queue(_repo.Mods.Values); + + _queuedMods = new Queue(_repo.Mods.Values); // Make our threads and start them Thread[] threads = new Thread[8];