Fixes custom vendor item interaction (#93500)

## About The Pull Request
- Fixes #93498

## Changelog
🆑
fix: restores custom vendor item interaction behaviors
/🆑
This commit is contained in:
SyncIt21
2025-10-19 04:55:44 +02:00
committed by GitHub
parent 9614a24a4e
commit b6faafdcb2
+4 -1
View File
@@ -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