diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:56:09 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:56:09 +0200 |
commit | 0a88f40bb15a33c3dd4d41ab49915a593b62602a (patch) | |
tree | 5a207e946eda2d5c71e8b11d8e7cf43d91b6f04a /Crossroads | |
parent | 1fdf80483c928781e1e0c3712bef47bbc14dbb84 (diff) | |
download | luaatc_envs-0a88f40bb15a33c3dd4d41ab49915a593b62602a.tar.gz luaatc_envs-0a88f40bb15a33c3dd4d41ab49915a593b62602a.tar.bz2 luaatc_envs-0a88f40bb15a33c3dd4d41ab49915a593b62602a.zip |
State at 2022-02-14
Diffstat (limited to 'Crossroads')
-rw-r--r-- | Crossroads/init_code.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |