changed drop to transfer (#29501)

Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
Toastical
2025-06-18 23:48:25 +03:00
committed by GitHub
parent bc3f1759d9
commit fda6dc0de6
+2 -2
View File
@@ -192,9 +192,9 @@ won't update every console in existence) but it's more of a hassle to do. Also,
else
to_chat(user, "<span class='danger'>Machine cannot accept disks in that format.</span>")
return
if(!user.drop_item())
if(!user.transfer_item_to(used, src))
return
used.loc = src
playsound(src, used.drop_sound, DROP_SOUND_VOLUME, ignore_walls = FALSE) // Highly important auditory feedback
to_chat(user, "<span class='notice'>You add the disk to the machine!</span>")
else if(!(linked_analyzer && linked_analyzer.busy) && !(linked_lathe && linked_lathe.busy) && !(linked_imprinter && linked_imprinter.busy))
return ..()