master
Aevann1 2021-12-10 18:28:16 +02:00
parent 6b4a080be0
commit a75929a96f
1 changed files with 1 additions and 1 deletions

View File

@ -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 != "grass": return {"error": "You can't buy the grass award with marseybux."}, 403
if award == "grass": return {"error": "You can't buy the grass award with marseybux."}, 403
v.procoins -= price
else:
if v.coins < price: return {"error": "Not enough coins."}, 400