diff --git a/src/DiceCalc/Random.php b/src/DiceCalc/Random.php index 2952091..ae65fba 100644 --- a/src/DiceCalc/Random.php +++ b/src/DiceCalc/Random.php @@ -19,7 +19,7 @@ public static function get($min, $max) { $result = $test_fn($min, $max); } else { - $result = rand($min, $max); + $result = mt_rand($min, $max); } return $result; } @@ -51,4 +51,4 @@ public static function queue_max() { return $max; }); } -} \ No newline at end of file +} \ No newline at end of file