summaryrefslogtreecommitdiff
path: root/ers_mtn/nodes/(1787,3,1264).lua
diff options
context:
space:
mode:
Diffstat (limited to 'ers_mtn/nodes/(1787,3,1264).lua')
-rw-r--r--ers_mtn/nodes/(1787,3,1264).lua15
1 files changed, 5 insertions, 10 deletions
diff --git a/ers_mtn/nodes/(1787,3,1264).lua b/ers_mtn/nodes/(1787,3,1264).lua
index aa971c6..ffb0e06 100644
--- a/ers_mtn/nodes/(1787,3,1264).lua
+++ b/ers_mtn/nodes/(1787,3,1264).lua
@@ -2,15 +2,10 @@
--
-- 1787,3,1264
+-- far_luaatctrack_spot_check_01.lua
-if event.type == "train" then
- if atc_arrow then
- S.section.gleis_a = nil
- S.section.tal = event.id
- else
- S.section.gleis_a = event.id
- S.section.tal = nil
- end
- F.update()
- return
+if event.train then
+ local posTable = POS( 1787,3,1264 )
+ F.save_train(posTable)
+ return
end \ No newline at end of file