mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 19:39:42 +01:00
Fixes slot machines not giving some cash winnings amounts (#16161)
This commit is contained in:
@@ -156,7 +156,7 @@
|
||||
proc/spawn_money(var/sum, spawnloc, mob/living/carbon/human/human_user as mob)
|
||||
if(sum in list(1000,500,200,100,50,20,10,1))
|
||||
var/cash_type = text2path("/obj/item/spacecash/c[sum]")
|
||||
var/obj/cash = new cash_type (usr.loc)
|
||||
var/obj/cash = new cash_type (spawnloc)
|
||||
if(ishuman(human_user) && !human_user.get_active_hand())
|
||||
human_user.put_in_hands(cash)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user