Use RandN properly and get rid of the iterations thingy for next double

This commit is contained in:
barelyprofessional
2026-02-19 20:55:55 -06:00
parent f1ab9cfcdd
commit 6967a81d73
2 changed files with 6 additions and 14 deletions

View File

@@ -92,14 +92,14 @@ public class Planes : ICommand
if (HOUSE_EDGE < 1)
{
if (Money.GetRandomDouble(gambler, 1) > (double)HOUSE_EDGE)
if (Money.GetRandomDouble(gambler) > (double)HOUSE_EDGE)
{
_rigged = true;
}
}
else
{
if ((double)HOUSE_EDGE - Money.GetRandomDouble(gambler, 1) > 1)
if ((double)HOUSE_EDGE - Money.GetRandomDouble(gambler) > 1)
{
_riggedWin = true;
}