change bite award back to 24 hrs

remotes/1693045480750635534/spooky-22
Aevann1 2022-09-18 23:25:58 +02:00
parent a63e25018f
commit e5da38d19c
1 changed files with 2 additions and 2 deletions

View File

@ -376,8 +376,8 @@ def award_thing(v, thing_type, id):
thing.body_html = sanitize(body, limit_pings=5)
g.db.add(thing)
elif "Vampire" in kind and kind == v.house:
if author.bite: author.bite += 86400 * 3
else: author.bite = int(time.time()) + 86400 * 3
if author.bite: author.bite += 86400
else: author.bite = int(time.time()) + 86400
if not author.old_house:
author.old_house = author.house