Merge pull request #8182 from Anasari/GamblingNeverPay

Gambling never pay
This commit is contained in:
Crazy Lemon
2017-10-04 01:40:40 -07:00
committed by GitHub
+3 -3
View File
@@ -47,14 +47,14 @@
if(operation == 1) // Play
if(working == 1)
return
if(!account || account.money < 10)
if(!account || account.money < 100)
return
if(!account.charge(10, transaction_purpose = "Bet", dest_name = name))
if(!account.charge(100, transaction_purpose = "Bet", dest_name = name))
return
plays += 1
working = 1
icon_state = "slots-on"
var/roll = rand(1,1350)
var/roll = rand(1,20000)
playsound(src.loc, 'sound/machines/ding.ogg', 50, 1)
spawn(25)
if(roll == 1)