anchor.diff:  					continue
   				if(!istype(TT, /turf/open/floor/plating/asteroid))
   					continue
  -				if(/turf/open/lava in orange(9, TT))
  +				if(typesof(/turf/open/lava) in orange(9, TT))
   					continue
   				valid_mining_turfs.Add(TT)
   		for(var/z_level in SSmapping.levels_by_trait(ZTRAIT_ICE_RUINS_UNDERGROUND))
  
positive.code: 					continue
  				if(!istype(TT, /turf/open/floor/plating/asteroid))
  					continue
  				if(/turf/open/lava in orange(9, TT))
  					continue
  				valid_mining_turfs_2.Add(TT)	
  	else
  
negative.code: 					continue
  				if(!istype(TT, /turf/open/floor/plating/asteroid))
  					continue
  				if(typesof(/turf/open/lava) in orange(9, TT))
  					continue
  				valid_mining_turfs.Add(TT)
  	if(!valid_mining_turfs)
  