diff --git a/files/routes/awards.py b/files/routes/awards.py index f9c567136..3677ee6a0 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -243,7 +243,8 @@ def award_thing(v, thing_type, id): msg = f"{safe_username} under the effect of a deflector award; your {award_title} award{s} {has} been deflected back to you but your deflector protected you, the award{s} bounced back and forth until {it} vaporized!" send_repeatable_notification(v.id, msg) - g.db.delete(award) + for award in awards: + g.db.delete(award) return {"message": f"{quantity} {award_title} award{s} given to {thing_type} successfully!"}