summaryrefslogtreecommitdiff
path: root/ers_mtn/init_code.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ers_mtn/init_code.lua')
-rw-r--r--ers_mtn/init_code.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/ers_mtn/init_code.lua b/ers_mtn/init_code.lua
index 6f346c5..fe140c3 100644
--- a/ers_mtn/init_code.lua
+++ b/ers_mtn/init_code.lua
@@ -63,12 +63,12 @@ F.save_train = function(pos)
else
pos_string = pos["x"] .. "," .. pos["y"] .. "," .. pos["z"]
end
- if F.has_rc("FAREAST", F.get_rc_safe()) then
+ -- if F.has_rc("FAREAST", F.get_rc_safe()) then
S.trains[atc_id] = { ["id"] = atc_id, ["rc"] = F.get_rc_safe(), ["ln"] = F.get_line_safe(), ["cars_count"] = F.get_train_length_safe(), ["pos"] = pos_string }
-- F.print("Train ID: " .. S.trains[atc_id]["id"] .. " at " .. S.trains[atc_id]["pos"])
-- remote_track = POS(30919,13,1812)
-- interrupt_pos(remote_track, "display")
- end
+ -- end
end
end