forked from rDrama/rDrama
1
0
Fork 0

consistency

master
Aevann 2024-06-04 13:17:43 +03:00
parent 6db1274227
commit c856507dfb
1 changed files with 3 additions and 3 deletions

View File

@ -105,13 +105,13 @@ def purchase_lottery_tickets(v, quantity=1):
if quantity < 1:
return False, "Must purchase one or more lottershe tickets!"
elif (v.coins < LOTTERY_TICKET_COST * quantity):
return False, f"Lottery tickets cost {LOTTERY_TICKET_COST} coins each!"
return False, f"Lottershe tickets cost {LOTTERY_TICKET_COST} coins each!"
most_recent_lottery = get_active_lottery()
if (most_recent_lottery is None):
return False, "There is no active lottery!"
return False, "There is no active lottershe!"
charge_reason = f'Cost of {quantity} lottery ticket'
charge_reason = f'Cost of {quantity} lottershe ticket'
if quantity > 1:
charge_reason += 's'