From 38036cf9ec91bf003d9dc61e5354ba29c7ed0b50 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 4 Sep 2022 00:33:25 +0200 Subject: [PATCH] fix incorrect calculated cut in hat notifs --- files/routes/hats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/hats.py b/files/routes/hats.py index e04b34147..db148cf71 100644 --- a/files/routes/hats.py +++ b/files/routes/hats.py @@ -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: