From f3d28c2d896abd565592c6487f323d3d6389c6c2 Mon Sep 17 00:00:00 2001 From: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com> Date: Sun, 22 Nov 2020 18:16:36 -0500 Subject: [PATCH] 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. --- 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)