diff options
Diffstat (limited to 'advtrains')
-rw-r--r-- | advtrains/passive.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/passive.lua b/advtrains/passive.lua index 231da82..37b79e4 100644 --- a/advtrains/passive.lua +++ b/advtrains/passive.lua @@ -57,7 +57,7 @@ function advtrains.setstate(parpos, newstate, pnode) return false, "train_here" end - if advtrains.interlocking and advtrains.interlocking.route.has_route_lock(minetest.encode_pos(pos)) then + if advtrains.interlocking and advtrains.interlocking.route.has_route_lock(advtrains.encode_pos(pos)) then return false, "route_lock_here" end |