AdjustWeighting cleanup

This commit is contained in:
Chomp
2025-01-19 23:57:20 +00:00
parent 93ebe58d09
commit 7297db6b1d
@@ -375,7 +375,7 @@ public class BotEquipmentFilterService
var locationToUpdate = botItemPool[poolAdjustmentKvP.Key];
foreach (var itemToAddKvP in poolAdjustmentKvP.Value)
{
locationToUpdate[itemToAddKvP.Key] = poolAdjustmentKvP.Value[itemToAddKvP.Key];
locationToUpdate[itemToAddKvP.Key] = itemToAddKvP.Value;
}
}
}
@@ -390,7 +390,7 @@ public class BotEquipmentFilterService
// Only make change if item exists as we're editing, not adding
if (locationToUpdate[itemToEditKvP.Key] != null || locationToUpdate[itemToEditKvP.Key] == 0)
{
locationToUpdate[itemToEditKvP.Key] = poolAdjustmentKvP.Value[itemToEditKvP.Key];
locationToUpdate[itemToEditKvP.Key] = itemToEditKvP.Value;
}
else
{