aboutsummaryrefslogtreecommitdiff
path: root/advtrains/init.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-11-10 12:12:52 +0100
committerorwell96 <orwell@bleipb.de>2018-11-10 12:12:52 +0100
commitb872bdae82b41398d2322ee848ade2c1cc652ce0 (patch)
treed3f1cc5dc82086396df668328865614154dc4e1e /advtrains/init.lua
parent88aee2aecb3cf070f601b3e046e66eea48f0def0 (diff)
downloadadvtrains-b872bdae82b41398d2322ee848ade2c1cc652ce0.tar.gz
advtrains-b872bdae82b41398d2322ee848ade2c1cc652ce0.tar.bz2
advtrains-b872bdae82b41398d2322ee848ade2c1cc652ce0.zip
Remove "couple locks" and apply protection to the actual coupling process, and fix permissions on that
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r--advtrains/init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua
index 3d420e6..3af679a 100644
--- a/advtrains/init.lua
+++ b/advtrains/init.lua
@@ -287,7 +287,7 @@ advtrains.avt_save = function(remove_players_from_wagons)
"last_pos", "last_connid", "last_frac", "velocity", "tarvelocity",
"trainparts", "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", "line",
"il_sections", "speed_restriction",
})
--then save it
@@ -308,6 +308,8 @@ advtrains.avt_save = function(remove_players_from_wagons)
end
end
-- TODO apply save-keys here too
+ -- TODO temp
+ wdata.dcpl_lock = nil
end
--versions: