fix chance
This commit is contained in:
parent
88a8b84d04
commit
3c7f5a0d7d
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ def random_choice(seq, items, pop=False):
|
||||||
return items[n]
|
return items[n]
|
||||||
|
|
||||||
def chance(seq, chance):
|
def chance(seq, chance):
|
||||||
return (seq() / 9) >= chance
|
return (seq() / 10) < chance
|
||||||
|
|
||||||
def get_clip_by_seqid(clips, seqid):
|
def get_clip_by_seqid(clips, seqid):
|
||||||
selected = None
|
selected = None
|
||||||
|
|
Loading…
Reference in a new issue