From 249a48807acd7da133d3354ab8c98b5953f8f51e Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Mon, 5 Aug 2024 17:09:23 +0200 Subject: [PATCH] use digEmpty function in tunnel command --- src/bin/TurtleCtl.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/TurtleCtl.hx b/src/bin/TurtleCtl.hx index f74bead..111e94e 100644 --- a/src/bin/TurtleCtl.hx +++ b/src/bin/TurtleCtl.hx @@ -114,7 +114,7 @@ class TurtleCtl extends CLIAppBase { registerAsyncSubcommand("tunnel", (args) -> { var len = args.getInt("length"); - return asynPerform(Helper.combine.bind([Turtle.dig.bind(Front), Turtle.forward, Turtle.dig.bind(Up)]), len); + return asynPerform(Helper.combine.bind([Turtle.digEmpty.bind(Front), Turtle.forward, Turtle.digEmpty.bind(Up)]), len); }, [Int("length")]); }