Fixes oversights in salvage redemption machine (#30491)

This commit is contained in:
PollardTheDragon
2025-09-19 15:55:34 +00:00
committed by GitHub
parent 94e7b1d007
commit 9af452c0ce
3 changed files with 23 additions and 1 deletions
+2 -1
View File
@@ -22,7 +22,7 @@
. = ..()
// Stock parts
component_parts = list()
component_parts += new /obj/item/circuitboard/smart_hopper(null)
component_parts += new /obj/item/circuitboard/salvage_redemption(null)
component_parts += new /obj/item/stock_parts/scanning_module(null)
component_parts += new /obj/item/stock_parts/scanning_module(null)
component_parts += new /obj/item/stock_parts/scanning_module(null)
@@ -136,6 +136,7 @@
addtimer(CALLBACK(src, PROC_REF(print_slip), total_value, user), 2.5 SECONDS)
/obj/machinery/salvage_redemption/proc/print_slip(total_value, mob/user)
animating = FALSE
// Print the credit slip
playsound(src, 'sound/machines/banknote_counter.ogg', 30, FALSE)
var/obj/item/credit_redemption_slip/slip = new /obj/item/credit_redemption_slip(src, total_value)