anchor.diff:  	if(locked)
   		return
   	locked = TRUE
  -	var/stolen_cash = my_card.registered_account.account_balance * percentage
  +	var/stolen_cash = my_card?.registered_account?.account_balance * percentage
   	dispense_prize(stolen_cash)
   
   
  
positive.code: 
  /obj/machinery/roulette/Destroy()
  	QDEL_NULL(jackpot_loop)
  	. = ..()
  
  /obj/machinery/roulette/atom_break(damage_flag)
  
negative.code: 		playsound(src, 'sound/machines/synth_no.ogg', 50)
  		return FALSE
  
  	// Prevents money generation exploits. Doesn't prevent the owner being a scrooge and running away with the money.
  	var/account_balance = my_card?.registered_account?.account_balance
  	potential_payout = (account_balance >= potential_payout) ? potential_payout : account_balance
  
  	audible_message(span_notice("You have won [potential_payout] credits! Congratulations!"))
  	playsound(src, 'sound/machines/synth_yes.ogg', 50)
  
  