Skip to content

Commit

Permalink
fix randomfill logic
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterMecky committed Jul 23, 2024
1 parent 99c3341 commit 7cd73c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/Random/Helpers/SharedRandomExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public static RandomFillSolution PickRandomFill(this WeightedRandomFillSolutionP

foreach (var fill in fills)
{
picks[fill] = fill.Weight;
picks[fill] = fill.Weight * fill.Reagents.Count;
}

var sum = picks.Values.Sum();
Expand Down

0 comments on commit 7cd73c0

Please sign in to comment.