Fix set_aspect()

Actually send aspect to advtrains.interlocking.signal_set_aspect() from LuaATC set_aspect()
This commit is contained in:
Maverick2797 2024-05-07 20:58:26 +08:00 committed by orwell
parent 7c4f1377e4
commit 216f28e51a
1 changed files with 1 additions and 1 deletions

View File

@ -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()