From 4d3a76f6866cb34bcbd65ee38d5a390626e2a89d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 8 Sep 2022 17:46:01 +0200 Subject: [PATCH] vamp award adjust --- files/routes/awards.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index dbc3a8903..33a1d9909 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -357,8 +357,10 @@ def award_thing(v, thing_type, id): g.db.add(thing) elif "Vampire" in kind and kind == v.house: if author.bite: author.bite += 86400 * 7 - else: author.bite = int(time.time()) + 86400 * 7 - author.old_house = author.house + else: + author.bite = int(time.time()) + 86400 * 7 + author.old_house = author.house + author.house = 'Vampire' badge_grant(user=author, badge_id=168) elif "Racist" in kind and kind == v.house: