From 289288cc3612810127d8d2a78eaa70be931f90da Mon Sep 17 00:00:00 2001 From: Tk420634 Date: Fri, 12 Jul 2024 12:42:04 -0500 Subject: [PATCH] sorry dan, fixing slot machines --- code/game/machinery/slotmachine.dm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/code/game/machinery/slotmachine.dm b/code/game/machinery/slotmachine.dm index 8a2c36bf2d..16a4582d85 100644 --- a/code/game/machinery/slotmachine.dm +++ b/code/game/machinery/slotmachine.dm @@ -258,11 +258,7 @@ return amountthesame /obj/machinery/computer/slot_machine/proc/give_money(amt) - var/turf/here = get_turf(src) - var/obj/item/stack/f13Cash/caps/money = locate(/obj/item/stack/f13Cash/caps) in here - if(!money) - money = new /obj/item/stack/f13Cash/caps(here) - money.amount += amt + balance += amt #undef SEVEN #undef SPIN_TIME