diff --git a/files/routes/awards.py b/files/routes/awards.py index 81e5501b0..66ecf6a41 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -76,6 +76,7 @@ def shop(v): if v.has_badge(badge): discount -= discounts[badge] for val in AWARDS.values(): + val["baseprice"] = int(val["price"]) val["price"] = int(val["price"]*discount) sales = g.db.query(func.sum(User.coins_spent)).scalar() diff --git a/files/templates/shop.html b/files/templates/shop.html index 322c8a39f..a4aaa36fb 100644 --- a/files/templates/shop.html +++ b/files/templates/shop.html @@ -60,7 +60,12 @@