forked from rDrama/rDrama
1
0
Fork 0
master
Aevann 2023-11-27 23:13:07 +02:00
parent 27097d8363
commit ef8f1d586f
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ def purchase_lottery_tickets(v, quantity=1):
if not v.charge_account('coins', LOTTERY_TICKET_COST * quantity)[0]:
return False, "You don't have enough coins"
v.currently_held_lottery_tickets += quantity
v.total_held_lottery_tickets += quantity