forked from MarseyWorld/MarseyWorld
more hat shit
parent
db9a995032
commit
29f09634fd
|
@ -81,6 +81,8 @@ def equip_hat(v, hat_id):
|
|||
@app.post("/unequip_hat")
|
||||
@auth_required
|
||||
def unequip_hat(v):
|
||||
if not FEATURES['HATS']: abort(404)
|
||||
|
||||
v.equipped_hat_id = None
|
||||
g.db.add(v)
|
||||
|
||||
|
|
Loading…
Reference in New Issue