diff options
author | Y. Wang <yw05@forksworld.de> | 2022-11-19 11:19:17 +0100 |
---|---|---|
committer | Y. Wang <yw05@forksworld.de> | 2023-03-23 20:06:02 +0100 |
commit | 640d72929d67a516cc870986bd27ed0408eb684d (patch) | |
tree | 4cf214846ab2ef62d3c5e8b4dc637432481feebd /advtrains_interlocking | |
parent | 778c9096ae7e027feae7f72b980cc583b9ec48b2 (diff) | |
download | advtrains-640d72929d67a516cc870986bd27ed0408eb684d.tar.gz advtrains-640d72929d67a516cc870986bd27ed0408eb684d.tar.bz2 advtrains-640d72929d67a516cc870986bd27ed0408eb684d.zip |
Remove pre_occupy (not used); put detailed luacov info in artifacts
Diffstat (limited to 'advtrains_interlocking')
-rw-r--r-- | advtrains_interlocking/distant.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/advtrains_interlocking/distant.lua b/advtrains_interlocking/distant.lua index 22f1c9d..726c2b3 100644 --- a/advtrains_interlocking/distant.lua +++ b/advtrains_interlocking/distant.lua @@ -110,12 +110,6 @@ local function assign(main, dst, by, skip_update) end end -local function pre_occupy(dst, by) - local pts_dst = pts(dst) - unassign_dst(dst) - db_distant_of[pts_dst] = {nil, by} -end - --- Get the distant signals assigned to a main signal. -- @function get_distant -- @param main The position of the main signal. |