anchor.diff:  			return
   
   	if(href_list["remove_coin"])
  -		if(!coin)
  -			to_chat(usr, "<span class='notice'>There is no coin in this machine.</span>")
  -			return
  -
  -		coin.loc = loc
  -		if(!usr.get_active_held_item())
  -			usr.put_in_hands(coin)
  -		to_chat(usr, "<span class='notice'>You remove [coin] from [src].</span>")
  -		coin = null
  +		if(!(coin || bill))
  +			to_chat(usr, "<span class='notice'>There is no money in this machine.</span>")
  +			return
  +		if(coin)
  +			if(!usr.get_active_held_item())
  +				usr.put_in_hands(coin)
  +			else
  +				coin.forceMove(get_turf(src))
  +			to_chat(usr, "<span class='notice'>You remove [coin] from [src].</span>")
  +			coin = null
  +		if(bill)
  +			if(!usr.get_active_held_item())
  +				usr.put_in_hands(bill)
  +			else
  +				bill.forceMove(get_turf(src))
  +			to_chat(usr, "<span class='notice'>You remove [bill] from [src].</span>")
  +			bill = null
   
   
   	usr.set_machine(src)
  
positive.code: 	..()
  
  /obj/machinery/vending/Destroy()
  	qdel(wires)
  	wires = null
  	qdel(coin)
  	coin = null
  	return ..()
  
  /obj/machinery/vending/snack/Destroy()
  
negative.code: 				vend_ready = 1
  				return
  		else if(R in coin_records)
  			if(!(coin || bill))
  				to_chat(usr, "<span class='warning'>You need to insert money to get this item!</span>")
  				vend_ready = 1
  				return
  			if(coin && coin.string_attached)
  				if(prob(50))
  					if(usr.put_in_hands(coin))
  						to_chat(usr, "<span class='notice'>You successfully pull [coin] out before [src] could swallow it.</span>")
  						coin = null
  					else
  						to_chat(usr, "<span class='warning'>You couldn't pull [coin] out because your hands are full!</span>")
  						QDEL_NULL(coin)
  				else
  					to_chat(usr, "<span class='warning'>You weren't able to pull [coin] out fast enough, the machine ate it, string and all!</span>")
  					QDEL_NULL(coin)
  			else
  				QDEL_NULL(coin)
  				QDEL_NULL(bill)
  
  		else if (!(R in product_records))
  			vend_ready = 1
  			message_admins("Vending machine exploit attempted by [key_name(usr, usr.client)]!")
  