From 3c7f5a0d7db044c690a0f0e39d818cb1890f2ddb Mon Sep 17 00:00:00 2001 From: j Date: Sun, 12 Nov 2023 22:47:57 +0100 Subject: [PATCH] fix chance --- render.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render.py b/render.py index 2e457a9..a945ede 100644 --- a/render.py +++ b/render.py @@ -34,7 +34,7 @@ def random_choice(seq, items, pop=False): return items[n] def chance(seq, chance): - return (seq() / 9) >= chance + return (seq() / 10) < chance def get_clip_by_seqid(clips, seqid): selected = None