diff --git a/files/helpers/lottery.py b/files/helpers/lottery.py index c9434b5b3..3f52a4783 100644 --- a/files/helpers/lottery.py +++ b/files/helpers/lottery.py @@ -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