flush between awards
parent
6eedc9217e
commit
2d72544be9
|
@ -660,6 +660,8 @@ def award_thing(v, thing_type, id):
|
||||||
elif kind == "jumpscare":
|
elif kind == "jumpscare":
|
||||||
author.jumpscare += 1
|
author.jumpscare += 1
|
||||||
|
|
||||||
|
g.db.flush()
|
||||||
|
|
||||||
author = obj.author
|
author = obj.author
|
||||||
if v.id != author.id:
|
if v.id != author.id:
|
||||||
if author.deflector and AWARDS[kind]['deflectable']:
|
if author.deflector and AWARDS[kind]['deflectable']:
|
||||||
|
|
Loading…
Reference in New Issue