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.
This commit is contained in:
ArcaneMusic
2020-11-22 18:16:36 -05:00
committed by GitHub
parent 0383c19ac2
commit f3d28c2d89
+1 -1
View File
@@ -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)