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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user