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)
This commit is contained in:
parent
816245588d
commit
a78ff65b31
|
@ -151,7 +151,7 @@ end
|
||||||
|
|
||||||
local function invalidate(train)
|
local function invalidate(train)
|
||||||
train.lzb = {
|
train.lzb = {
|
||||||
trav = atfloor(train.index),
|
trav = atround(train.index),
|
||||||
data = {},
|
data = {},
|
||||||
oncoming = {},
|
oncoming = {},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue