aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation/active_common.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2021-01-02 18:00:12 +0100
committerorwell96 <orwell@bleipb.de>2021-02-10 16:39:46 +0100
commit8f4c90c5a53b531451436b8e0a1ea8a3b750110e (patch)
treea347eddc1ec522eb083430417f79c129cde2ddfc /advtrains_luaautomation/active_common.lua
parent3c42d87dc0b4b3aed454e68541bff711dba75dc9 (diff)
downloadadvtrains-8f4c90c5a53b531451436b8e0a1ea8a3b750110e.tar.gz
advtrains-8f4c90c5a53b531451436b8e0a1ea8a3b750110e.tar.bz2
advtrains-8f4c90c5a53b531451436b8e0a1ea8a3b750110e.zip
Add debug prints, modify LZB to fix problems with look_ahead
Diffstat (limited to 'advtrains_luaautomation/active_common.lua')
-rw-r--r--advtrains_luaautomation/active_common.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/advtrains_luaautomation/active_common.lua b/advtrains_luaautomation/active_common.lua
index 7db3eaf..d3985dc 100644
--- a/advtrains_luaautomation/active_common.lua
+++ b/advtrains_luaautomation/active_common.lua
@@ -150,6 +150,11 @@ function ac.run_in_env(pos, evtdata, customfct_p)
if meta then
meta:set_string("infotext", "LuaAutomation ATC interface rail, ERROR:"..dataout)
end
+ --TODO temporary
+ --if customfct.atc_id then
+ -- advtrains.drb_dump(customfct.atc_id)
+ -- error("Debug: LuaATC error hit!")
+ --end
end
if meta then
meta:set_string("formspec", ac.getform(pos, meta))