This commit is contained in:
Dragon Fire
2020-04-17 18:56:15 -04:00
parent 286689de06
commit 35f868768b
+2 -1
View File
@@ -105,7 +105,8 @@ module.exports = class ShipCommand extends Command {
}
percentColor(pct) {
for (let i = 1; i < percentColors.length - 1; i++) {
let i = 1;
for (i; i < percentColors.length - 1; i++) {
if (pct < percentColors[i].pct) {
break;
}