Fix set_aspect()
Actually send aspect to advtrains.interlocking.signal_set_aspect() from LuaATC set_aspect()
This commit is contained in:
parent
7c4f1377e4
commit
216f28e51a
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue