diff options
author | orwell96 <orwell@bleipb.de> | 2019-02-19 15:56:04 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2019-02-19 15:56:04 +0100 |
commit | 0684c6edd71a138ee2541971d1809fe7acae01cf (patch) | |
tree | 89e016cde1ff300a395c7b7ae444bcadc6e2ca5e | |
parent | 391a57f90ce5fccc0f5e587e880bf9770e2ecfb5 (diff) | |
download | advtrains-0684c6edd71a138ee2541971d1809fe7acae01cf.tar.gz advtrains-0684c6edd71a138ee2541971d1809fe7acae01cf.tar.bz2 advtrains-0684c6edd71a138ee2541971d1809fe7acae01cf.zip |
Move "Reverse" command in stoprail to directly before departure
-rw-r--r-- | advtrains_line_automation/stoprail.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_line_automation/stoprail.lua b/advtrains_line_automation/stoprail.lua index 6e4a6e2..859813e 100644 --- a/advtrains_line_automation/stoprail.lua +++ b/advtrains_line_automation/stoprail.lua @@ -159,7 +159,7 @@ local adefunc = function(def, preset, suffix, rotation) local stnname = stn and stn.name or "Unknown Station" -- Send ATC command and set text - advtrains.atc.train_set_command(train, "B0 W O"..stdata.doors..(stdata.reverse and "R" or "").." D"..stdata.wait.." OC D1 SM", true) + advtrains.atc.train_set_command(train, "B0 W O"..stdata.doors.." D"..stdata.wait.." OC D1 "..(stdata.reverse and "R" or "").." SM", true) train.text_inside = stnname if tonumber(stdata.wait) then minetest.after(tonumber(stdata.wait), function() train.text_inside = "" end) |