aboutsummaryrefslogtreecommitdiff
path: root/advtrains/init.lua
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-06-10 17:30:50 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-06-10 17:30:50 +0200
commit38d10acca24e5a34671a1a71f12923002d06253d (patch)
treea72aa02902af4dd37bbfa753bdb1ef651e72be88 /advtrains/init.lua
parent3e29cba6af2e19909b6d143cecaec877aaf3a7bd (diff)
parent8d8e8c1553bc631b8f357005b506bc651de9a138 (diff)
downloadadvtrains-38d10acca24e5a34671a1a71f12923002d06253d.tar.gz
advtrains-38d10acca24e5a34671a1a71f12923002d06253d.tar.bz2
advtrains-38d10acca24e5a34671a1a71f12923002d06253d.zip
Merge branch 'master' of https://github.com/orwell96/advtrains
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r--advtrains/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua
index d7bff4d..65e5048 100644
--- a/advtrains/init.lua
+++ b/advtrains/init.lua
@@ -151,6 +151,7 @@ dofile(advtrains.modpath.."/trackplacer.lua")
dofile(advtrains.modpath.."/tracks.lua")
dofile(advtrains.modpath.."/atc.lua")
dofile(advtrains.modpath.."/wagons.lua")
+dofile(advtrains.modpath.."/protection.lua")
dofile(advtrains.modpath.."/trackdb_legacy.lua")
dofile(advtrains.modpath.."/nodedb.lua")
@@ -275,7 +276,7 @@ advtrains.avt_save = function(remove_players_from_wagons)
"last_pos", "last_pos_prev", "movedir", "velocity", "tarvelocity",
"trainparts", "savedpos_off_track_index_offset", "recently_collided_with_env",
"atc_brake_target", "atc_wait_finish", "atc_command", "atc_delay", "door_open",
- "text_outside", "text_inside", "couple_lck_front", "couple_lck_back"
+ "text_outside", "text_inside", "couple_lck_front", "couple_lck_back", "line"
})
--then invalidate
if train.index then