From 201208e673a45368cc5c1b84cc20b97403f2c601 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 22 Sep 2022 00:28:35 +0200 Subject: [PATCH] make deflector not stack --- files/routes/awards.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index c5bf4cd7b..eaec855ee 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -366,8 +366,7 @@ def award_thing(v, thing_type, id): else: author.rehab = int(time.time()) + 86400 badge_grant(user=author, badge_id=109) elif kind == "deflector": - if author.deflector: author.deflector += 36000 - else: author.deflector = int(time.time()) + 36000 + author.deflector = int(time.time()) + 36000 elif kind == "beano": badge_grant(user=author, badge_id=128) elif kind == "checkmark":