Fix the loop

This commit is contained in:
Andrea Fazzi 2024-08-16 19:16:49 +02:00
parent 89def88673
commit 70be8b6388

View file

@ -51,7 +51,7 @@ let TreasureChest = (function () {
Constructor.getRandomLoot = function () {
let amount = [];
for (let qty = 0; qty <= 50; qty++) {
for (let qty = 0; qty < 50; qty++) {
amount.push(qty+1);
}