From 2d72544be9788c96f6c673c368a396b53fe59ddc Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 16 Apr 2024 18:16:52 +0200 Subject: [PATCH] flush between awards --- files/routes/awards.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/routes/awards.py b/files/routes/awards.py index 8a177286e..077f76eb4 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -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']: