From b872bdae82b41398d2322ee848ade2c1cc652ce0 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Sat, 10 Nov 2018 12:12:52 +0100 Subject: Remove "couple locks" and apply protection to the actual coupling process, and fix permissions on that --- advtrains/init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'advtrains/init.lua') 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: -- cgit v1.2.3