This commit is contained in:
Aevann1 2022-02-15 02:53:34 +02:00
parent bbe54f8eb2
commit 50f1696bd0
2 changed files with 4 additions and 4 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 >= 2000: v.coins -= 2000
elif v.procoins >= 2000: v.procoins -= 2000
else: abort(403)
if house == "None": house = None