From ba351345391fc0010e3fddaaa9da950e59401931 Mon Sep 17 00:00:00 2001 From: CWX Date: Fri, 11 Apr 2025 13:54:35 +0100 Subject: [PATCH] Allow for concurrentDictionaries --- Libraries/SPTarkov.Server.Core/Helpers/WeightedRandomHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/SPTarkov.Server.Core/Helpers/WeightedRandomHelper.cs b/Libraries/SPTarkov.Server.Core/Helpers/WeightedRandomHelper.cs index 3e3313b6..397bcd6a 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/WeightedRandomHelper.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/WeightedRandomHelper.cs @@ -109,7 +109,7 @@ public class WeightedRandomHelper( /// Find the greated common divisor of all weights and use it on the passed in dictionary /// /// Values to reduce - public void ReduceWeightValues(Dictionary weightedDict) + public void ReduceWeightValues(IDictionary weightedDict) { // No values, nothing to reduce if (weightedDict.Count == 0)