diff --git a/flatland/utils/rendertools.py b/flatland/utils/rendertools.py index 29a337239fc7d4df737b4482c81ceabff4600e7e..e6cc4cccc5d0cb219709cb7b805e440dfd954b52 100644 --- a/flatland/utils/rendertools.py +++ b/flatland/utils/rendertools.py @@ -524,7 +524,7 @@ class RenderTool(object): # cell transition values oCell = env.rail.get_transitions((r, c)) - bCellValid = env.rail.cell_neighbours_valid((r, c)) + bCellValid = env.rail.cell_neighbours_valid((r, c), check_this_cell=True) # Special Case 7, with a single bit; terminate at center nbits = 0