diff --git a/code/game/machinery/vendors/vending.dm b/code/game/machinery/vendors/vending.dm index fa860051b1f..39c2c4f3124 100644 --- a/code/game/machinery/vendors/vending.dm +++ b/code/game/machinery/vendors/vending.dm @@ -748,6 +748,10 @@ set_light(0) update_icon(UPDATE_OVERLAYS) + if(cash_transaction) + new /obj/item/stack/spacecash(get_turf(src), cash_transaction) + cash_transaction = 0 + var/dump_amount = 0 var/found_anything = TRUE while(found_anything) diff --git a/tgui/packages/tgui/interfaces/Vending.js b/tgui/packages/tgui/interfaces/Vending.js index 1ff6d3d2254..535fb09b3c2 100644 --- a/tgui/packages/tgui/interfaces/Vending.js +++ b/tgui/packages/tgui/interfaces/Vending.js @@ -106,6 +106,9 @@ export const Vending = (props, context) => {
Your balance is {usermoney} credits.
+ + ))} + There is {inserted_cash} credits of space cash inserted.