This commit is contained in:
JustAGenericUsername 2024-04-06 19:10:01 -04:00
parent 7fec2b986f
commit 1f070860c9
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ elements.change_count = {
if (!cans) { return }
if (cans > 2000000){alert("You have put too big of a number! This would surely crash your browser or eat up all your RAM! Element count will remain unchanged."); return}
if (cans < 1){alert("You have either put a decimal, zero, or a negative number. Why? Element count will remain unchanged."); return}
if (parseInt(cans) == NaN){alert("Apparently your input isnt even a number. Try again. Element count will remain unchanged."); return}
if (isNaN(parseInt(cans))){alert("Apparently your input isnt even a number. Try again. Element count will remain unchanged."); return}
settings.randomcount = parseInt(cans)
saveSettings()
},