diff options
author | orwell <orwell@bleipb.de> | 2024-05-23 00:58:24 +0200 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2024-05-23 00:58:24 +0200 |
commit | 6fd845baec0f5aa8b7cdee1adf8d05061a643242 (patch) | |
tree | f1bd25e0d5d0a5dbd7947a43d670c6f1377534c4 /advtrains | |
parent | 852da6bcaeeb8c39ce73639ef64f10ebc5b127b0 (diff) | |
download | advtrains-6fd845baec0f5aa8b7cdee1adf8d05061a643242.tar.gz advtrains-6fd845baec0f5aa8b7cdee1adf8d05061a643242.tar.bz2 advtrains-6fd845baec0f5aa8b7cdee1adf8d05061a643242.zip |
Connect the ropes, start on making the UI work
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 |