From ef39795f33293368879af91aebafdaa817326703 Mon Sep 17 00:00:00 2001 From: Jake Bolton Date: Sat, 1 Nov 2025 07:35:09 -0500 Subject: [PATCH 1/2] fix: `Turtle.js.teleport` ( re: #334 ) --- Types/Turtle.js/teleport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Types/Turtle.js/teleport.js b/Types/Turtle.js/teleport.js index 703b335..73a821c 100644 --- a/Types/Turtle.js/teleport.js +++ b/Types/Turtle.js/teleport.js @@ -1,7 +1,7 @@ function teleport(x,y) { var penState = this.penDown this.penDown = false - step(x - this.x, y - this.y) + this.step(x - this.x, y - this.y) this.penDown = penState return this } \ No newline at end of file From df567655e92b621fafa46646c4ec5430cefbe10d Mon Sep 17 00:00:00 2001 From: ninmonkey Date: Sat, 1 Nov 2025 12:39:39 +0000 Subject: [PATCH 2/2] fix: `Turtle.js.teleport` ( re: #334 ) --- Turtle.types.ps1xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Turtle.types.ps1xml b/Turtle.types.ps1xml index 6178096..76f6a6d 100644 --- a/Turtle.types.ps1xml +++ b/Turtle.types.ps1xml @@ -8610,7 +8610,7 @@ foreach ($javaScriptProperty in $this.psobject.properties | Sort-Object Name) { function teleport(x,y) { var penState = this.penDown this.penDown = false - step(x - this.x, y - this.y) + this.step(x - this.x, y - this.y) this.penDown = penState return this }