aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2016-08-29 23:10:10 +0200
committerorwell96 <mono96.mml@gmail.com>2016-08-29 23:10:10 +0200
commit20b6e43501c418c1051bd837aa64ae5f153b43a3 (patch)
treeb095b169cff986d8dd83a267fc2311971e547062
parent997f87b4733074bd7cdf80bff1d145172f8dae50 (diff)
downloadadvtrains-20b6e43501c418c1051bd837aa64ae5f153b43a3.tar.gz
advtrains-20b6e43501c418c1051bd837aa64ae5f153b43a3.tar.bz2
advtrains-20b6e43501c418c1051bd837aa64ae5f153b43a3.zip
removed 2 very annoying debug messages that should not go with 1.0
-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