aboutsummaryrefslogtreecommitdiff
path: root/advtrains/init.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-04-16 09:16:44 +0200
committerorwell96 <orwell@bleipb.de>2019-04-16 09:16:44 +0200
commitea33ad9de0a77887f0181d8581568fe79d14255e (patch)
tree7c2fa83878777c921ace816a1954d316c7f84a1e /advtrains/init.lua
parentc50224e05cfc7a37b9181565024c972446a720ca (diff)
downloadadvtrains-ea33ad9de0a77887f0181d8581568fe79d14255e.tar.gz
advtrains-ea33ad9de0a77887f0181d8581568fe79d14255e.tar.bz2
advtrains-ea33ad9de0a77887f0181d8581568fe79d14255e.zip
Move LZB system to core and unify approach callback mechanism
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r--advtrains/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua
index 14a5a02..4e5ae90 100644
--- a/advtrains/init.lua
+++ b/advtrains/init.lua
@@ -25,6 +25,7 @@ local no_action=false
local function reload_saves()
atwarn("Restoring saved state in 1 second...")
no_action=true
+ advtrains.lock_path_inval = false
--read last save state and continue, as if server was restarted
for aoi, le in pairs(minetest.luaentities) do
if le.is_wagon then
@@ -192,6 +193,8 @@ dofile(advtrains.modpath.."/craft_items.lua")
dofile(advtrains.modpath.."/log.lua")
dofile(advtrains.modpath.."/passive.lua")
+dofile(advtrains.modpath.."/lzb.lua")
+
--load/save