From 8abe542c0c528cb5faa5bd210bc389444201640c Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 13 Aug 2021 19:51:01 +0100 Subject: [PATCH] tidy --- Generator/Helpers/Gear/GearHelpers.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Generator/Helpers/Gear/GearHelpers.cs b/Generator/Helpers/Gear/GearHelpers.cs index 3493ad6..55f671b 100644 --- a/Generator/Helpers/Gear/GearHelpers.cs +++ b/Generator/Helpers/Gear/GearHelpers.cs @@ -111,9 +111,9 @@ namespace Generator.Helpers.Gear } private static void AddItemToDictionary( - Item itemToAdd, - List modsToAdd, - Dictionary>> itemsWithModsDict) + Item itemToAdd, + List modsToAdd, + Dictionary>> itemsWithModsDict) { // item key already exists, need to merge mods if (itemsWithModsDict.ContainsKey(itemToAdd._tpl)) @@ -149,9 +149,7 @@ namespace Generator.Helpers.Gear var modToUpdate = modItems[modItem.slotId]; modToUpdate.Add(modItem._tpl); } - } - var result = JsonConvert.SerializeObject(itemsWithModsDict, Formatting.Indented); } @@ -163,7 +161,6 @@ namespace Generator.Helpers.Gear foreach (var itemToAdd in item.Value) { cartridges.AddUnique(itemToAdd); - } }