summaryrefslogtreecommitdiff
path: root/durt/nodes/(-4129,9,-5588).lua
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes/(-4129,9,-5588).lua')
-rw-r--r--durt/nodes/(-4129,9,-5588).lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/durt/nodes/(-4129,9,-5588).lua b/durt/nodes/(-4129,9,-5588).lua
index ff80009..86a9f95 100644
--- a/durt/nodes/(-4129,9,-5588).lua
+++ b/durt/nodes/(-4129,9,-5588).lua
@@ -16,8 +16,13 @@ if event.train then
atc_send("BB")
schedule_in(";05",true)
else
- setstate(pt,"s")
- atc_send("S3")
+ if (get_rc() or ""):match("CAN_corn") then
+ setstate(pt,"r")
+ atc_send("B1")
+ else
+ setstate(pt,"s")
+ atc_send("S3")
+ end
end
else
if tostring(get_rc() or ""):match("DLG_shunt") then