From 82e743fa5516f52ee3818830ddba53a0dc71ca65 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 23 Nov 2020 01:33:34 +0100 Subject: [PATCH] [MIRROR] Fixes paystands sending signals when attached with a signaler. (#1778) * Fixes paystands sending signals when attached with a signaler. (#55092) Corrects how paystand's interact with their signalers by actually using the correct proc, and signaling out of the machine. Not much else to say here. * Fixes paystands sending signals when attached with a signaler. Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com> --- code/modules/economy/pay_stand.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/economy/pay_stand.dm b/code/modules/economy/pay_stand.dm index f10bb4d7d07..5a55694237c 100644 --- a/code/modules/economy/pay_stand.dm +++ b/code/modules/economy/pay_stand.dm @@ -122,7 +122,7 @@ my_card.registered_account.bank_card_talk("Purchase made at your vendor by [buyer] for [price] credits.") amount_deposited = amount_deposited + price if(signaler && amount_deposited >= signaler_threshold) - signaler.activate() + signaler.signal() amount_deposited = 0 /obj/machinery/paystand/default_unfasten_wrench(mob/user, obj/item/I, time = 20)