Skip to content

Commit

Permalink
sorry dan, fixing slot machines
Browse files Browse the repository at this point in the history
  • Loading branch information
Tk420634 committed Jul 12, 2024
1 parent 93194ef commit 289288c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions code/game/machinery/slotmachine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 289288c

Please sign in to comment.