aboutsummaryrefslogtreecommitdiff
path: root/advtrains/occupation.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2020-06-16 16:11:35 +0200
committerorwell96 <orwell@bleipb.de>2021-02-10 16:36:24 +0100
commit114b915518190e112c7aa8f94a86f3e19660bd6e (patch)
tree176bf22c4d28c30bef8948e01601e0bb50dff1d1 /advtrains/occupation.lua
parent61329c11a28ca0d68f95f189d3a66c373d7dddc3 (diff)
downloadadvtrains-114b915518190e112c7aa8f94a86f3e19660bd6e.tar.gz
advtrains-114b915518190e112c7aa8f94a86f3e19660bd6e.tar.bz2
advtrains-114b915518190e112c7aa8f94a86f3e19660bd6e.zip
Fix new green signals bug caused by old trav_lzbdata, and callback loop in signalling formspec
Diffstat (limited to 'advtrains/occupation.lua')
-rw-r--r--advtrains/occupation.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/advtrains/occupation.lua b/advtrains/occupation.lua
index da60278..db39991 100644
--- a/advtrains/occupation.lua
+++ b/advtrains/occupation.lua
@@ -196,7 +196,6 @@ function o.get_trains_over(ppos)
local r = {}
local i = 1
while t[i] do
- local train = advtrains.trains[t[i]]
local idx = t[i+1]
r[t[i]] = idx
i = i + 2