diff options
author | orwell96 <orwell@bleipb.de> | 2019-04-16 09:16:44 +0200 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2019-04-16 09:16:44 +0200 |
commit | ea33ad9de0a77887f0181d8581568fe79d14255e (patch) | |
tree | 7c2fa83878777c921ace816a1954d316c7f84a1e /advtrains/init.lua | |
parent | c50224e05cfc7a37b9181565024c972446a720ca (diff) | |
download | advtrains-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.lua | 3 |
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 |