diff --git a/code/game/machinery/ecto_sniffer.dm b/code/game/machinery/ecto_sniffer.dm index 7f94df42b72..6c7de7e5097 100644 --- a/code/game/machinery/ecto_sniffer.dm +++ b/code/game/machinery/ecto_sniffer.dm @@ -61,15 +61,18 @@ tool.play_tool_sound(src, 15) set_anchored(!anchored) balloon_alert(user, "sniffer [anchored ? "anchored" : "unanchored"]") + return ITEM_INTERACT_SUCCESS + +/obj/machinery/ecto_sniffer/screwdriver_act(mob/living/user, obj/item/screwdrivertool) + if(default_deconstruction_screwdriver(user, "ecto_sniffer_open", "ecto_sniffer", screwdrivertool)) + return ITEM_INTERACT_SUCCESS + return ITEM_INTERACT_BLOCKING -/obj/machinery/ecto_sniffer/screwdriver_act(mob/living/user, obj/item/I) - . = ..() - if(!.) - return default_deconstruction_screwdriver(user, "ecto_sniffer_open", "ecto_sniffer", I) /obj/machinery/ecto_sniffer/crowbar_act(mob/living/user, obj/item/tool) - if(!default_deconstruction_crowbar(tool)) - return ..() + if(default_deconstruction_crowbar(tool)) + return ITEM_INTERACT_SUCCESS + return ITEM_INTERACT_BLOCKING /obj/machinery/ecto_sniffer/Destroy() ectoplasmic_residues = null