flush between awards

master
Aevann 2024-04-16 18:16:52 +02:00
parent 6eedc9217e
commit 2d72544be9
1 changed files with 2 additions and 0 deletions

View File

@ -660,6 +660,8 @@ def award_thing(v, thing_type, id):
elif kind == "jumpscare":
author.jumpscare += 1
g.db.flush()
author = obj.author
if v.id != author.id:
if author.deflector and AWARDS[kind]['deflectable']: