gdf
This commit is contained in:
parent
8539cacddf
commit
f9c6fa4a72
3 changed files with 25 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue