OSRIC::Util::d actually does what's intended
This commit is contained in:
parent
a66fa490a7
commit
05df6907c5
@ -12,7 +12,7 @@ sub d
|
|||||||
my $n = shift // 1;
|
my $n = shift // 1;
|
||||||
|
|
||||||
my $i = 0;
|
my $i = 0;
|
||||||
$i += int(rand($range));
|
$i += (int(rand($range)) + 1) for(1..$n);
|
||||||
return $i;
|
return $i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user