From 0c7280a2f52879f89f02e97ba87a860a34c1ff72 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Mon, 31 Jul 2023 16:42:17 +0200 Subject: [PATCH] fixed turtle output text --- src/bin/Turtle.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/Turtle.hx b/src/bin/Turtle.hx index 727826f..ec3109b 100644 --- a/src/bin/Turtle.hx +++ b/src/bin/Turtle.hx @@ -31,9 +31,9 @@ class Turtle extends CLIAppBase { }); } - private function checkAvailable(): Bool { - if (!kernel.turtle.Turtle.isTurtle()){ - handle.write("No turtle attached"); + private function checkAvailable():Bool { + if (!kernel.turtle.Turtle.isTurtle()) { + handle.write("This is not a turtle!"); return false; } return true;