summaryrefslogtreecommitdiff
path: root/Crossroads/init_code.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Crossroads/init_code.lua')
-rw-r--r--Crossroads/init_code.lua6
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),
}