private void ValidateMapSize(int height, int width) {
		boolean change = false;
		int newwidth = Game.map.width;
		int newheight = Game.map.height;
		if (height >= Game.map.minsize && height <= Game.map.maxsize) {newwidth = width;change = true;}
		if (width >= Game.map.minsize && width <= Game.map.maxsize) {newheight = height;change = true;}
		if (change == true) {
			Game.map.ResizeMap(newwidth,newheight,Game.map.width,Game.map.height);
		}
	}