forked from MarseyWorld/MarseyWorld
fix betting rewards
parent
52c5dd6028
commit
9e98494b65
|
@ -212,7 +212,7 @@ def distribute(v, option_id):
|
||||||
|
|
||||||
pool = 0
|
pool = 0
|
||||||
for o in post.options:
|
for o in post.options:
|
||||||
if o.exclusive > 2: pool += o.upvotes
|
if o.exclusive >= 2: pool += o.upvotes
|
||||||
pool *= 200
|
pool *= 200
|
||||||
|
|
||||||
autojanny.coins -= pool
|
autojanny.coins -= pool
|
||||||
|
|
Loading…
Reference in New Issue