aboutsummaryrefslogtreecommitdiff
path: root/advtrains
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-10-17 17:52:22 +0200
committerorwell96 <orwell@bleipb.de>2018-10-17 18:11:11 +0200
commitcd38b17eabb8cdc37bd7e11a89fd0fd049910ffc (patch)
treec53253e996691583408b0fdad9679356571b5ae8 /advtrains
parentc6bef1c358af39c25e0def8aa374e4474a6e334c (diff)
downloadadvtrains-cd38b17eabb8cdc37bd7e11a89fd0fd049910ffc.tar.gz
advtrains-cd38b17eabb8cdc37bd7e11a89fd0fd049910ffc.tar.bz2
advtrains-cd38b17eabb8cdc37bd7e11a89fd0fd049910ffc.zip
Address H#60, H#17, M#18 and M#7
duplicate "message" to "msg" make operation panel "cracky" remove inexistent dtime_s parameter add bones:bones to the list of not_blocking_trains nodes
Diffstat (limited to 'advtrains')
-rw-r--r--advtrains/trainlogic.lua3
-rw-r--r--advtrains/wagons.lua2
2 files changed, 3 insertions, 2 deletions
diff --git a/advtrains/trainlogic.lua b/advtrains/trainlogic.lua
index 4ca212f..6d903c5 100644
--- a/advtrains/trainlogic.lua
+++ b/advtrains/trainlogic.lua
@@ -1056,7 +1056,7 @@ function advtrains.invalidate_all_paths(pos)
end
end
function advtrains.invalidate_path(id)
- atdebug("Path invalidate:",id)
+ --atdebug("Path invalidate:",id)
local v=advtrains.trains[id]
if not v then return end
advtrains.path_invalidate(v)
@@ -1081,6 +1081,7 @@ local nonblocknodes={
"default:fence_pine_wood",
"default:fence_junglewood",
"default:torch",
+ "bones:bones",
"default:sign_wall",
"signs:sign_wall",
diff --git a/advtrains/wagons.lua b/advtrains/wagons.lua
index c69b5e6..c532d30 100644
--- a/advtrains/wagons.lua
+++ b/advtrains/wagons.lua
@@ -107,7 +107,7 @@ function wagon:set_id(wid)
minetest.after(0.2, function() self:reattach_all() end)
if self.custom_on_activate then
- self:custom_on_activate(dtime_s)
+ self:custom_on_activate()
end
end