From 1946199f61d907033a4b1ee42e023496c1b7ebcd Mon Sep 17 00:00:00 2001 From: Chris Adamson Date: Thu, 29 May 2025 15:48:59 -0500 Subject: [PATCH] theres a chance that 0 equals 0 --- Libraries/SPTarkov.Server.Core/Utils/RandomUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/SPTarkov.Server.Core/Utils/RandomUtil.cs b/Libraries/SPTarkov.Server.Core/Utils/RandomUtil.cs index d24f1142..d9e4f112 100644 --- a/Libraries/SPTarkov.Server.Core/Utils/RandomUtil.cs +++ b/Libraries/SPTarkov.Server.Core/Utils/RandomUtil.cs @@ -105,7 +105,7 @@ public class RandomUtil(ISptLogger _logger, ICloner _cloner) { chancePercent = Math.Clamp(chancePercent ?? 0, 0D, 100D); - return GetInt(0, 100) <= chancePercent; + return GetInt(1, 100) <= chancePercent; } ///