diff options
author | orwell <orwell@bleipb.de> | 2025-01-28 22:24:03 +0100 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2025-01-28 22:24:03 +0100 |
commit | a212310913c33fb855ca0f262beda6d857382ff8 (patch) | |
tree | 9e94937aa2e1d4c3b1be12accc4455e8bf22b866 /advtrains_line_automation/stoprail.lua | |
parent | e3e711e04cf6036eb6f3e4c05007bb7258b01449 (diff) | |
download | advtrains-a212310913c33fb855ca0f262beda6d857382ff8.tar.gz advtrains-a212310913c33fb855ca0f262beda6d857382ff8.tar.bz2 advtrains-a212310913c33fb855ca0f262beda6d857382ff8.zip |
ATC: add "G" command to wait for green signal, improve ATC hud, potentially fix LZB issue
Diffstat (limited to 'advtrains_line_automation/stoprail.lua')
-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 2c96d6c..19e9fa9 100644 --- a/advtrains_line_automation/stoprail.lua +++ b/advtrains_line_automation/stoprail.lua @@ -199,7 +199,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.kick and "K" or "").." D"..stdata.wait.." OC "..(stdata.reverse and "R" or "").."D"..(stdata.ddelay or 1) .. " A1 S" ..(stdata.speed or "M"), true) + advtrains.atc.train_set_command(train, "B0 W O"..stdata.doors..(stdata.kick and "K" or "").." D"..stdata.wait.." "..(stdata.reverse and "R" or "").." A1 G OC D"..(stdata.ddelay or 1) .. " S" ..(stdata.speed or "M"), true) train.text_inside = stnname if tonumber(stdata.wait) then minetest.after(tonumber(stdata.wait), function() train.text_inside = "" end) |