From 75c9f0d9724e8b692ec4cbc3016f1a7786ee8c64 Mon Sep 17 00:00:00 2001 From: warriorstar-orion Date: Tue, 27 May 2025 16:55:24 -0400 Subject: [PATCH] fix bapping rd console with disks (#29447) --- code/modules/research/rdconsole.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/research/rdconsole.dm b/code/modules/research/rdconsole.dm index 727e028ac3b..c39c687e1bf 100644 --- a/code/modules/research/rdconsole.dm +++ b/code/modules/research/rdconsole.dm @@ -182,17 +182,18 @@ won't update every console in existence) but it's more of a hassle to do. Also, /obj/machinery/computer/rdconsole/item_interaction(mob/living/user, obj/item/used, list/modifiers) //Loading a disk into it. if(istype(used, /obj/item/disk)) + . = ITEM_INTERACT_COMPLETE if(t_disk || d_disk) to_chat(user, "A disk is already loaded into the machine.") - return ITEM_INTERACT_COMPLETE + return if(istype(used, /obj/item/disk/tech_disk)) t_disk = used else if(istype(used, /obj/item/disk/design_disk)) d_disk = used else to_chat(user, "Machine cannot accept disks in that format.") - return ITEM_INTERACT_COMPLETE + return if(!user.drop_item()) - return ITEM_INTERACT_COMPLETE + return used.loc = src to_chat(user, "You add the disk to the machine!") else if(!(linked_analyzer && linked_analyzer.busy) && !(linked_lathe && linked_lathe.busy) && !(linked_imprinter && linked_imprinter.busy))