diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:52:37 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:52:37 +0200 |
commit | f3da24b214b3337ad63ebd885da29d5b789d4738 (patch) | |
tree | 48fa662ea867d097fdf4fad4b3dc7c8310e8a80a /Crossroads/init_code.lua | |
parent | e455ab51a3bdb8cca33bf0a3906575aa9177d8df (diff) | |
download | luaatc_envs-f3da24b214b3337ad63ebd885da29d5b789d4738.tar.gz luaatc_envs-f3da24b214b3337ad63ebd885da29d5b789d4738.tar.bz2 luaatc_envs-f3da24b214b3337ad63ebd885da29d5b789d4738.zip |
State at 2020-12-14
Diffstat (limited to 'Crossroads/init_code.lua')
-rw-r--r-- | Crossroads/init_code.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Crossroads/init_code.lua b/Crossroads/init_code.lua index d6fb5f4..ce984ab 100644 --- a/Crossroads/init_code.lua +++ b/Crossroads/init_code.lua @@ -1,4 +1,5 @@ if S.trains == nil then S.trains = {} end +if not S.odsd then S.odsd = {} end F.odj = {} @@ -163,10 +164,10 @@ function F.stn2gen(stn, trk, door, ret, chout) end end if event.type == "schedule" then - if type(event.msg) == "string" then + --[[if type(event.msg) == "string" then atc_set_text_inside(event.msg) atc_send(ret and "OCD1RSM" or "OCD1SM") - end + end]] end end @@ -338,6 +339,7 @@ F.depint = { F.dpts = { ['CRT1'] = POS(1835,5,1000), + ["CRT2"] = POS(1741,-1,1020), ['AG'] = POS(1399,4,2020), } |