Reduce global JavaScript variables for Turtle

Fixes
This commit is contained in:
Sebastian Serth
2023-11-25 01:18:19 +01:00
parent 59aa3926d9
commit b4ee21a00d
2 changed files with 17 additions and 18 deletions

View File

@ -7,7 +7,7 @@ CodeOceanEditorTurtle = {
if (this.resetTurtle) {
this.resetTurtle = false;
this.turtlecanvas = $('#turtlecanvas');
this.turtlescreen = new Turtle(this.websocket, this.turtlecanvas);
this.turtlescreen = new Turtle(this.turtlecanvas);
}
},