@@ -139,6 +139,7 @@ class CodeBox {
this.curr_stack = 0;
this.pointer = {X: 0, Y: 0};
this.curr_direction = this.directions.EAST;
+ this.dirWasLeft = false;
this.outputDOM.value = "";
console.clear();