From 651cd60aa2e7523d67f1632616c03b21c6ca017e Mon Sep 17 00:00:00 2001 From: justcool393 Date: Tue, 1 Nov 2022 15:33:00 -0500 Subject: [PATCH] marsify: make marsify awards last a day --- files/routes/awards.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index 060f058d1..754d901c4 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -324,8 +324,8 @@ def award_thing(v, thing_type, id): badge_grant(user=author, badge_id=150) elif kind == 'marsify': if not author.marsify or author.marsify != 1: - if author.marsify: author.marsify += 21600 - else: author.marsify = int(time.time()) + 21600 + if author.marsify: author.marsify += 86400 + else: author.marsify = int(time.time()) + 86400 badge_grant(user=author, badge_id=170) if thing_type == 'comment' and not author.deflector: