forked from rDrama/rDrama
1
0
Fork 0

max at 50 and 100 so as to now crash tab

master
Aevann 2023-07-14 14:22:03 +03:00
parent 741c11ab36
commit dbe4d7c42a
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ const shit_num = document.getElementById('shit_num').value
new BugController({
imageSprite: "/i/fly-sprite.webp",
canDie: false,
minBugs: MINFLIES + (shit_num * 2),
maxBugs: MAXFLIES + (shit_num * 2),
minBugs: Math.min(MINFLIES + (shit_num * 2), 50),
maxBugs: Math.min(MAXFLIES + (shit_num * 2), 100),
mouseOver: "multiply"
});

View File

@ -3,7 +3,7 @@ const fireflies_num = document.getElementById('fireflies_num').value
new BugController({
imageSprite: "/i/fireflies.webp",
canDie: false,
minBugs: MINFLIES + (fireflies_num * 2),
maxBugs: MAXFLIES + (fireflies_num * 2),
minBugs: Math.min(MINFLIES + (fireflies_num * 2), 50),
maxBugs: Math.min(MAXFLIES + (fireflies_num * 2), 100),
mouseOver: "multiply"
});