From b6faafdcb2a49e2a290d1cce0674675ed916f817 Mon Sep 17 00:00:00 2001 From: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Date: Sun, 19 Oct 2025 08:25:44 +0530 Subject: [PATCH] Fixes custom vendor item interaction (#93500) ## About The Pull Request - Fixes #93498 ## Changelog :cl: fix: restores custom vendor item interaction behaviors /:cl: --- code/modules/vending/custom.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/vending/custom.dm b/code/modules/vending/custom.dm index 6f85f94c91d..53ad1209bcf 100644 --- a/code/modules/vending/custom.dm +++ b/code/modules/vending/custom.dm @@ -200,12 +200,15 @@ if(!linked_account) linked_account = card_used.registered_account speak("\The [src] has been linked to [card_used].") + return ITEM_INTERACT_SUCCESS else if(linked_account == card_used.registered_account) linked_account = null speak("account unlinked.") + return ITEM_INTERACT_SUCCESS else to_chat(user, "verification failed. unlinking process has been cancelled.") - return ITEM_INTERACT_SUCCESS + return ITEM_INTERACT_FAILURE + return ..() /obj/machinery/vending/custom/descformat(input, mob/living/user) . = input