forked from MarseyWorld/MarseyWorld
fix incorrect calculated cut in hat notifs
parent
e2744d9330
commit
38036cf9ec
|
@ -59,7 +59,7 @@ def buy_hat(v, hat_id):
|
|||
if v.id != hat.author.id:
|
||||
send_repeatable_notification(
|
||||
hat.author.id,
|
||||
f":marseycapitalistmanlet: @{v.username} has just bought `{hat.name}`, you have received your 10% cut ({int(hat.price * 0.05)} {currency}) :!marseycapitalistmanlet:"
|
||||
f":marseycapitalistmanlet: @{v.username} has just bought `{hat.name}`, you have received your 10% cut ({int(hat.price * 0.1)} {currency}) :!marseycapitalistmanlet:"
|
||||
)
|
||||
|
||||
if v.num_of_owned_hats >= 250:
|
||||
|
|
Loading…
Reference in New Issue