aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains_luaautomation/init.lua
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2017-02-02 21:14:20 +0100
committerorwell96 <mono96.mml@gmail.com>2017-02-02 21:14:20 +0100
commit948482a99e4aae4d51ff97879432140645959f46 (patch)
tree7920fcec8ee918e56e3c67acbf1b7ce4335bc740 /advtrains/advtrains_luaautomation/init.lua
parentb19033b224f4f8ec33f10ba40327f1d811c04fbb (diff)
downloadadvtrains-948482a99e4aae4d51ff97879432140645959f46.tar.gz
advtrains-948482a99e4aae4d51ff97879432140645959f46.tar.bz2
advtrains-948482a99e4aae4d51ff97879432140645959f46.zip
LuaAutomation: Add interrupt to the ingame API and implement initialization code handling and env management
Diffstat (limited to 'advtrains/advtrains_luaautomation/init.lua')
-rw-r--r--advtrains/advtrains_luaautomation/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/advtrains/advtrains_luaautomation/init.lua b/advtrains/advtrains_luaautomation/init.lua
index 12e1b1d..37e5714 100644
--- a/advtrains/advtrains_luaautomation/init.lua
+++ b/advtrains/advtrains_luaautomation/init.lua
@@ -26,6 +26,8 @@ dofile(mp.."/active_common.lua")
dofile(mp.."/atc_rail.lua")
dofile(mp.."/operation_panel.lua")
dofile(mp.."/p_mesecon_iface.lua")
+dofile(mp.."/chatcmds.lua")
+
local filename=minetest.get_worldpath().."/advtrains_luaautomation"
local file, err = io.open(filename, "r")