aboutsummaryrefslogtreecommitdiff
path: root/advtrains/init.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-07-17 21:03:08 +0200
committerorwell96 <orwell@bleipb.de>2018-07-17 21:03:08 +0200
commite6700c5c7d0e1e8afb8f6fd5021b50f645655588 (patch)
tree15c06ab93a96661dd047b2fd03552bea1b360e7a /advtrains/init.lua
parentbdd09d641da65087ef12227e0bc2486a321a0c46 (diff)
downloadadvtrains-e6700c5c7d0e1e8afb8f6fd5021b50f645655588.tar.gz
advtrains-e6700c5c7d0e1e8afb8f6fd5021b50f645655588.tar.bz2
advtrains-e6700c5c7d0e1e8afb8f6fd5021b50f645655588.zip
Revert "Rework the privilege system completely"
This caused much trouble on Linuxworks recently. Please see http://www.linux-forks.de/advtrains/22.html for current discussion on that topic This reverts commit 8b576357ef1d2346e9af112e115ac92a5f4d222d.
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r--advtrains/init.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua
index 65e5048..d7bff4d 100644
--- a/advtrains/init.lua
+++ b/advtrains/init.lua
@@ -151,7 +151,6 @@ 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")
@@ -276,7 +275,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", "line"
+ "text_outside", "text_inside", "couple_lck_front", "couple_lck_back"
})
--then invalidate
if train.index then