From 86cd91cebac894c1e75a478a42798d15cc8ba75a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 10 Dec 2021 07:00:58 +0200 Subject: [PATCH] fdsfd --- files/routes/awards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index 1a505a2c12..3ca7eb0a85 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -417,7 +417,7 @@ def buy(v, award): if request.values.get("mb"): if v.procoins < price: return {"error": "Not enough marseybux."}, 400 - if award in ["grass","alt"]: return {"error": "You can't buy those awards with marseybux."}, 403 + if award != "grass": return {"error": "You can't buy those awards with marseybux."}, 403 v.procoins -= price else: if v.coins < price: return {"error": "Not enough coins."}, 400