diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 15:00:40 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 15:00:40 +0200 |
commit | 2e97492f1b8d577c2cdc0505c7f4e34d82fea8bf (patch) | |
tree | 065b8b48759151a3129eff9934abe6cad0f2ae1f /ers_mtn/nodes/(1787,3,1264).lua | |
parent | b397e03fc6e1f2a2ff9885b525d01e3695f9c771 (diff) | |
download | luaatc_envs-2e97492f1b8d577c2cdc0505c7f4e34d82fea8bf.tar.gz luaatc_envs-2e97492f1b8d577c2cdc0505c7f4e34d82fea8bf.tar.bz2 luaatc_envs-2e97492f1b8d577c2cdc0505c7f4e34d82fea8bf.zip |
State at 2023-07-26
Diffstat (limited to 'ers_mtn/nodes/(1787,3,1264).lua')
-rw-r--r-- | ers_mtn/nodes/(1787,3,1264).lua | 15 |
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 |