diff options
author | Maverick2797 <git.maverick2797@gmail.com> | 2024-05-07 20:58:26 +0800 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2024-08-01 22:03:44 +0200 |
commit | 216f28e51aa3f8fea78f4fc054cb1071f3a9ce72 (patch) | |
tree | 87cca33b3a0a38e4420826a8ad1c469de388630b | |
parent | 7c4f1377e452134ab9e4addd0f01360dfa72564a (diff) | |
download | advtrains-216f28e51aa3f8fea78f4fc054cb1071f3a9ce72.tar.gz advtrains-216f28e51aa3f8fea78f4fc054cb1071f3a9ce72.tar.bz2 advtrains-216f28e51aa3f8fea78f4fc054cb1071f3a9ce72.zip |
Fix set_aspect()
Actually send aspect to advtrains.interlocking.signal_set_aspect() from LuaATC set_aspect()
-rw-r--r-- | advtrains_luaautomation/environment.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_luaautomation/environment.lua b/advtrains_luaautomation/environment.lua index 761e227..ee7628d 100644 --- a/advtrains_luaautomation/environment.lua +++ b/advtrains_luaautomation/environment.lua @@ -224,7 +224,7 @@ if advtrains.interlocking then end static_env.set_aspect = function(signal, asp) local pos = atlatc.pcnaming.resolve_pos(signal) - return advtrains.interlocking.signal_set_aspect(pos) + return advtrains.interlocking.signal_set_aspect(pos,asp) end --section_occupancy() |