make event_music become False when receiving grinch award

master
Aevann1 2022-12-20 04:07:37 +02:00
parent 7297fad5fe
commit a7d9d2ed6a
1 changed files with 1 additions and 0 deletions

View File

@ -409,6 +409,7 @@ def award_thing(v, thing_type, id):
award_thing_event(v, kind, author)
if kind == "grinch":
badge_grant(badge_id=91, user=author)
author.event_music = False
if author.received_award_count: author.received_award_count += 1