Added new improvements
This commit is contained in:
parent
c18da0c12c
commit
33b2bf0aa4
@ -206,7 +206,7 @@ public class Battery extends Widget {
|
||||
return getRandom(index, false);
|
||||
}
|
||||
private double getRandom(int index, boolean keepArray) {
|
||||
if (!keepArray && Math.random() > 0.95) {
|
||||
if (!keepArray && Math.random() > 0.975) {
|
||||
randomDoubles[index] = Math.random();
|
||||
}
|
||||
return randomDoubles[index];
|
||||
|
Loading…
x
Reference in New Issue
Block a user