Fix inconsistency between node enter callback and lzb approach callbacks

(this caused the lzb approach to be called on nodes that have just received an enter event, which is not intended)
master
orwell96 2019-12-12 13:59:24 +01:00
parent 816245588d
commit a78ff65b31
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ end
local function invalidate(train)
train.lzb = {
trav = atfloor(train.index),
trav = atround(train.index),
data = {},
oncoming = {},
}