Fix css not being activated after donating

This commit is contained in:
Jeremy Zhang 2017-12-15 19:06:46 +00:00
parent 8a2a61ebda
commit 2729abeb48

View File

@ -466,8 +466,8 @@ def donate_patch():
if item == "custom_css_slots": if item == "custom_css_slots":
if not entry: if not entry:
entry = Cosmetics(session["user_id"]) entry = Cosmetics(session["user_id"])
entry.css = True
entry.css_limit = 0 entry.css_limit = 0
entry.css = True
entry.css_limit += amount entry.css_limit += amount
if item == "guest_icon": if item == "guest_icon":
if not entry: if not entry: