This commit is contained in:
Aevann1 2022-02-15 02:11:52 +02:00
parent 8539cacddf
commit f9c6fa4a72
3 changed files with 25 additions and 10 deletions

View file

@ -339,8 +339,8 @@ def settings_profile_post(v):
house = request.values.get("house")
if house and house in ("None","Furry","Femboy","Vampire","Racist"):
if v.coins > 500: v.coins -= 500
elif v.procoins > 500: v.procoins -= 500
if v.coins >= 500: v.coins -= 500
elif v.procoins >= 500: v.procoins -= 500
else: abort(403)
if house == "None": house = None