From 19754f0213a912f275b0755938299dea6c4989bc Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 11 Oct 2023 19:30:14 +0300 Subject: [PATCH] limit stalker award to 25 to prevent 404 images --- files/classes/post.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/classes/post.py b/files/classes/post.py index 66b642c96..4a997e905 100644 --- a/files/classes/post.py +++ b/files/classes/post.py @@ -265,6 +265,9 @@ class Post(Base): if kind in {"gingerbread", "pumpkin"}: return min(num, 10) + if kind == "stalker": + return min(num, 25) + return min(num, 4) @lazy