Fix the loop
This commit is contained in:
parent
89def88673
commit
70be8b6388
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ let TreasureChest = (function () {
|
||||||
Constructor.getRandomLoot = function () {
|
Constructor.getRandomLoot = function () {
|
||||||
let amount = [];
|
let amount = [];
|
||||||
|
|
||||||
for (let qty = 0; qty <= 50; qty++) {
|
for (let qty = 0; qty < 50; qty++) {
|
||||||
amount.push(qty+1);
|
amount.push(qty+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue