forked from rDrama/rDrama
fdsfds
parent
86cd91ceba
commit
1fc72f0c33
|
@ -417,7 +417,7 @@ def buy(v, award):
|
||||||
|
|
||||||
if request.values.get("mb"):
|
if request.values.get("mb"):
|
||||||
if v.procoins < price: return {"error": "Not enough marseybux."}, 400
|
if v.procoins < price: return {"error": "Not enough marseybux."}, 400
|
||||||
if award != "grass": return {"error": "You can't buy those awards with marseybux."}, 403
|
if award != "grass": return {"error": "You can't buy the grass award with marseybux."}, 403
|
||||||
v.procoins -= price
|
v.procoins -= price
|
||||||
else:
|
else:
|
||||||
if v.coins < price: return {"error": "Not enough coins."}, 400
|
if v.coins < price: return {"error": "Not enough coins."}, 400
|
||||||
|
|
Loading…
Reference in New Issue