anchor.diff:  			return 0
   	if(!src.operating) //in case of emag
   		src.operating = 1
  -	flick(text("[]opening", src.base_state), src)
  +	flick("[src.base_state]opening", src)
   	playsound(src.loc, 'sound/machines/windowdoor.ogg', 100, 1)
  -	src.icon_state = text("[]open", src.base_state)
  +	src.icon_state ="[src.base_state]open"
   	sleep(10)
   
   	explosion_resistance = 0
  
positive.code: 	if(allowed(user))
  		open_and_close()
  	else
  		flick(text("[]deny", src.base_state), src)
  	return
  
  /obj/machinery/door/window/CanPass(atom/movable/mover, turf/target, height=0)
  
negative.code: 		if(emagged)
  			return 0
  	src.operating = 1
  	flick("[src.base_state]closing", src)
  	playsound(src.loc, 'sound/machines/windowdoor.ogg', 100, 1)
  	src.icon_state = src.base_state
  
  