private static void saveGrid() {
		File mapFolder = FileSystem.getFolder(worldFolder, "map");
		
		for (Quadrant q : world.getGrid().QUADRANTS) {
			StringBuilder quadText = new StringBuilder();
			for (int y = 0; y < q.getChunks().size(); y++) {
				for (int x = 0; x < q.getChunks().get(y).size(); x++) {
					for (int yy = 0; yy < Chunk.CHUNK_SIZE; yy++) {
						for (int xx = 0; xx < Chunk.CHUNK_SIZE; xx++) {
							Coordinate c = q.getChunks().get(y).get(x).getCoordinateFromIndex(xx, yy);
							quadText.append("[" + c.xCoordinate + "," + c.yCoordinate + "," + c.getXScreenPos() + "," + c.getYScreenPos() + "," + c.getTile().getName() + "," + c.getImageIndex() + "]");
						}
					}
				}
			}
			File quadFile = FileSystem.getFile(mapFolder, "quad" + q.getQuadrantNumber() + ".txt");
			
			try {
				FileSystem.writeTextFile(quadFile, quadText);
			} catch (IOException e) {
				DystopiaLogger.logSevere("Could not save Quadrant " + q.getQuadrantNumber() + " into world file. Your world file may be corrupt.");
				e.printStackTrace();
			}
		}
	}