forked from MarseyWorld/MarseyWorld
change bite award back to 24 hrs
parent
a63e25018f
commit
e5da38d19c
|
@ -376,8 +376,8 @@ def award_thing(v, thing_type, id):
|
||||||
thing.body_html = sanitize(body, limit_pings=5)
|
thing.body_html = sanitize(body, limit_pings=5)
|
||||||
g.db.add(thing)
|
g.db.add(thing)
|
||||||
elif "Vampire" in kind and kind == v.house:
|
elif "Vampire" in kind and kind == v.house:
|
||||||
if author.bite: author.bite += 86400 * 3
|
if author.bite: author.bite += 86400
|
||||||
else: author.bite = int(time.time()) + 86400 * 3
|
else: author.bite = int(time.time()) + 86400
|
||||||
|
|
||||||
if not author.old_house:
|
if not author.old_house:
|
||||||
author.old_house = author.house
|
author.old_house = author.house
|
||||||
|
|
Loading…
Reference in New Issue