diff options
Diffstat (limited to 'railtrack/railtrack.lua')
-rw-r--r-- | railtrack/railtrack.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railtrack/railtrack.lua b/railtrack/railtrack.lua index a72898f..75a62a6 100644 --- a/railtrack/railtrack.lua +++ b/railtrack/railtrack.lua @@ -192,7 +192,7 @@ end function railtrack:get_connections(pos) local connections = {} - for y = -1, 1 do + for y = 1, -1, -1 do for x = -1, 1 do for z = -1, 1 do if math.abs(x) ~= math.abs(z) then |