Fix typo
This commit is contained in:
		@@ -107,7 +107,7 @@ class Generator:
 | 
				
			|||||||
        # post-processing: add walls
 | 
					        # post-processing: add walls
 | 
				
			||||||
        for x in range(width):
 | 
					        for x in range(width):
 | 
				
			||||||
            for y in range(height):
 | 
					            for y in range(height):
 | 
				
			||||||
                c = sum([1 if grid[j][i] == Tile.FLOOR else 0 for j, i in result.neighbours_large(y, x)])
 | 
					                c = sum([1 if grid[j][i] == Tile.FLOOR else 0 for j, i in result.large_neighbourhood(y, x)])
 | 
				
			||||||
                if c == 4 and self.params["no_lone_walls"]:
 | 
					                if c == 4 and self.params["no_lone_walls"]:
 | 
				
			||||||
                    result.tiles[y][x] = Tile.FLOOR
 | 
					                    result.tiles[y][x] = Tile.FLOOR
 | 
				
			||||||
                elif c > 0:
 | 
					                elif c > 0:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user