theres a chance that 0 equals 0

This commit is contained in:
Chris Adamson
2025-05-29 15:48:59 -05:00
parent ff43f72b53
commit 1946199f61
@@ -105,7 +105,7 @@ public class RandomUtil(ISptLogger<RandomUtil> _logger, ICloner _cloner)
{
chancePercent = Math.Clamp(chancePercent ?? 0, 0D, 100D);
return GetInt(0, 100) <= chancePercent;
return GetInt(1, 100) <= chancePercent;
}
/// <summary>