diff --git a/flatland/utils/graphics_pil.py b/flatland/utils/graphics_pil.py index c5af55fa607da6dbccc12c0bb9a00624acf5e969..31fa07f0f69ba50695b83c9ded9e6d227a227240 100644 --- a/flatland/utils/graphics_pil.py +++ b/flatland/utils/graphics_pil.py @@ -434,7 +434,7 @@ class PILSVG(PILGL): pilTrack = self.dScenery[0] else: pilTrack = self.dBuildings[a] - elif self.background_grid[col][row] > 5 or ((col + row + col * row) % 10 > 7): + elif (self.background_grid[col][row] > 5) or ((col**3 + row**2 + col * row) % 10 == 0): a = int(self.background_grid[col][row]) - 5 a = a % len(self.dScenery) if (col + row + col * row) % 10 > 2: