fix RangeNumberSelector to actually be inclusive (#36155)

* fix RangeNumberSelector to actually be inclusive

* Convert all random number stuff to randomint and prune unused code

* another heisentest???

* another heisentest after a heisentest. im going to lose it.
This commit is contained in:
ArtisticRoomba
2025-04-14 14:02:49 -07:00
committed by GitHub
parent 0de0ef6065
commit 6c2c5935ed
5 changed files with 11 additions and 18 deletions

View File

@@ -30,7 +30,7 @@ public abstract partial class EntityTableSelector
IEntityManager entMan,
IPrototypeManager proto)
{
var rolls = Rolls.Get(rand, entMan, proto);
var rolls = Rolls.Get(rand);
for (var i = 0; i < rolls; i++)
{
if (!rand.Prob(Prob))