mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Updated keno numbers and removed logging from GetRandomNumber
This commit is contained in:
@@ -209,7 +209,7 @@ public class KenoCommand : ICommand
|
||||
var repeatNum = true;
|
||||
while (repeatNum)
|
||||
{
|
||||
var randomNum = Money.GetRandomNumber(gambler, 1, 10);
|
||||
var randomNum = Money.GetRandomNumber(gambler, 1, 40);
|
||||
if (numbers.Contains(randomNum)) continue;
|
||||
numbers.Add(randomNum);
|
||||
repeatNum = false;
|
||||
|
||||
@@ -436,7 +436,6 @@ public static class Money
|
||||
i++;
|
||||
result = random.Next(min, max);
|
||||
}
|
||||
_logger.Info($"Generated random number {result} with min {min} and max {max} over {iterations} iterations");
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user