From 6e8c1fb73999c75b3e7c144e3419712737ab8fc2 Mon Sep 17 00:00:00 2001 From: cron Date: Thu, 5 Nov 2020 19:55:55 +0000 Subject: [PATCH] turtle/tlang: log prints --- clientmods/turtle/tlang_vm.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clientmods/turtle/tlang_vm.lua b/clientmods/turtle/tlang_vm.lua index 218505bea..d88e8eeee 100644 --- a/clientmods/turtle/tlang_vm.lua +++ b/clientmods/turtle/tlang_vm.lua @@ -293,7 +293,9 @@ function builtins.print(state) local value = statepop(state) if minetest then - minetest.display_chat_message("Tlang: " .. tostring(value.value)) + local message = "[tlang] " .. tostring(value.value) + minetest.display_chat_message(message) + minetest.log(message) else print(value.value) end