anchor.diff: +var/global/generating_map = 0
  +
   /client/proc/generate_map_icon()
   	set category = "Server"
   	set name = "Create map icon"
   
   	var/zlevels_list = list(ZLEVEL_STATION, ZLEVEL_CENTCOM)
  +
  +	if(generating_map)
  +		return
   
   	if(!usr.client.holder)
   		return
  
positive.code: 	//  
  	var/icon/final = new /icon()
  	final.Insert(minimap, "", SOUTH, 1, 0)
  	fcopy(final, "data/map_icons/[name].png")
  
  //    03.06.2016
  /proc/generate_tile_self(turf/tile, icon/minimap)
  
negative.code: 
  	var/z_level
  	if(confirm == "")
  		generating_map = 1
  		var/max_x = 1
  		var/max_y = 1
  		z_level = input(" ", " ") as null|anything in zlevels_list
  		world << "    [z_level]"
  		diary << "    [z_level]"
  		var/i
  		var/j
  		for(i = 1, i < world.maxx, i += 64)
  			max_x = (i+63>world.maxx) ? world.maxx : i+63
  			max_y = 1
  			for(j = 1, j < world.maxy, j += 64)
  				max_y = (i+63>world.maxy) ? world.maxy : j+63
  				generate_map_self(z_level, i, j, max_x, max_y, "[MAP_NAME]_[z_level]_([i],[j];[max_x],[max_y])")
  
  	world << "   [z_level] "
  	diary << "   [z_level] "
  	generating_map = 0
  
  //   
  /proc/generate_map_self(z = 1, x1 = 1, y1 = 1, x2 = world.maxx, y2 = world.maxy, name)
  