diff --git a/flatland/utils/graphics_pil.py b/flatland/utils/graphics_pil.py index 4dad2ca872725517ffd47308f088f098b6abe1aa..b76b130ebb5b49d3670f4f85839bd7c927f58139 100644 --- a/flatland/utils/graphics_pil.py +++ b/flatland/utils/graphics_pil.py @@ -524,7 +524,7 @@ class PILSVG(PILGL): elif (self.background_grid[col][row] > 4) or ((col ** 3 + row ** 2 + col * row) % 10 == 0): a = int(self.background_grid[col][row]) - 4 a2 = (a + (col + row + col * row + col ** 3 + row ** 4)) - if a2 % 17 > 11: + if a2 % 64 > 11: a = a2 pil_track = self.scenery[a % len(self.scenery)]