From dd91cdad4473f989c007fd68078732de17f39b84 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sat, 8 Apr 2023 23:16:33 -0500 Subject: [PATCH] design 5 --- commands/drawDesign.cjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/commands/drawDesign.cjs b/commands/drawDesign.cjs index bd431b7..6ef4ce3 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -212,6 +212,9 @@ function design4(input) { } var charIterateState; function charIterate(input) { + if (charIterateState == undefined) { + charIterateState = 0; + } if (charIterateState < input.length) { charIterateState++; } else {