aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2021-11-04 20:10:55 +0100
committerorwell96 <orwell@bleipb.de>2021-11-04 20:10:55 +0100
commitf046cfc2d32c5cc764404c21f627695ca547b9c0 (patch)
tree4af1a4b072947a48cf958751f6625e27b4c29118 /advtrains_luaautomation
parent5e27bbdcfeef76a364375e17c5d83ced9b351847 (diff)
downloadadvtrains-f046cfc2d32c5cc764404c21f627695ca547b9c0.tar.gz
advtrains-f046cfc2d32c5cc764404c21f627695ca547b9c0.tar.bz2
advtrains-f046cfc2d32c5cc764404c21f627695ca547b9c0.zip
LuaATC: remove accidental mesecons hard-dependency
Diffstat (limited to 'advtrains_luaautomation')
-rw-r--r--advtrains_luaautomation/init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/advtrains_luaautomation/init.lua b/advtrains_luaautomation/init.lua
index 2aa2acb..c51aa71 100644
--- a/advtrains_luaautomation/init.lua
+++ b/advtrains_luaautomation/init.lua
@@ -33,7 +33,9 @@ dofile(mp.."/interrupt.lua")
dofile(mp.."/active_common.lua")
dofile(mp.."/atc_rail.lua")
dofile(mp.."/operation_panel.lua")
-dofile(mp.."/mesecon_controller.lua")
+if mesecon then
+ dofile(mp.."/mesecon_controller.lua")
+end
dofile(mp.."/pcnaming.lua")
dofile(mp.."/chatcmds.lua")