aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trackplacer.lua1
-rw-r--r--wagons.lua1
2 files changed, 0 insertions, 2 deletions
diff --git a/trackplacer.lua b/trackplacer.lua
index a2b64bb..9ab9a4a 100644
--- a/trackplacer.lua
+++ b/trackplacer.lua
@@ -140,7 +140,6 @@ function tp.placetrack(pos, nnpref)
p_rails[#p_rails+1]=i
end
end
- print(dump(p_rails))
if #p_rails==0 then
minetest.set_node(pos, {name=nnpref.."_"..tr.default})
elseif #p_rails==1 then
diff --git a/wagons.lua b/wagons.lua
index 6b73e5f..b5ab97d 100644
--- a/wagons.lua
+++ b/wagons.lua
@@ -338,7 +338,6 @@ function advtrains.register_wagon(sysname, traintype, prototype, desc, inv_img)
local conn1=advtrains.get_track_connections(node.name, node.param2)
local id=advtrains.create_new_train_at(pointed_thing.under, advtrains.dirCoordSet(pointed_thing.under, conn1), traintype)
advtrains.add_wagon_to_train(le, id)
- print(dump(advtrains.trains))
if not minetest.setting_getbool("creative_mode") then
itemstack:take_item()
end