diff options
author | orwell96 <orwell@bleipb.de> | 2018-03-14 20:57:07 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2018-03-14 20:57:07 +0100 |
commit | 8b576357ef1d2346e9af112e115ac92a5f4d222d (patch) | |
tree | dca625bf3b98205202b2127b618bd884ca1f2ae8 /advtrains/init.lua | |
parent | 481f6218a8b377a0826b7e080046b5a890702e12 (diff) | |
download | advtrains-8b576357ef1d2346e9af112e115ac92a5f4d222d.tar.gz advtrains-8b576357ef1d2346e9af112e115ac92a5f4d222d.tar.bz2 advtrains-8b576357ef1d2346e9af112e115ac92a5f4d222d.zip |
Rework the privilege system completely
See privilege_guide.txt for information
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r-- | advtrains/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua index 38252ae..2ef2879 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") @@ -272,7 +273,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 |