From 0a88f40bb15a33c3dd4d41ab49915a593b62602a Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 14:56:09 +0200 Subject: State at 2022-02-14 --- Crossroads/init_code.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Crossroads/init_code.lua b/Crossroads/init_code.lua index d93ca65..94035e1 100644 --- a/Crossroads/init_code.lua +++ b/Crossroads/init_code.lua @@ -197,7 +197,7 @@ function F.stn2gen(stn, trk, door, ret, chout, depspeed) if msg.intext then atc_set_text_inside(msg.intext) end - atc_send("OCD1"..(((not ret) == (not atc_arrow)) and "R" or "").."A1S"..(depspeed or "M")) + atc_send("OCD1"..((ret and atc_arrow) and "R" or "").."A1S"..(depspeed or "M")) end end end -- cgit v1.2.3