diff --git a/commands/drawDesign.cjs b/commands/drawDesign.cjs index 0379591..c3cbd8e 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -215,12 +215,12 @@ function charIterate(input) { if (charIterateState == undefined) { charIterateState = 0; } - console.log(charIterateState, input.charAt(charIterate)); if (charIterateState < input.length) { charIterateState++; } else { charIterateState = 0; } + console.log(charIterateState, input.charAt(charIterate)); return charIterateState; }