mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-09 10:52:31 -05:00
[Economy] Slot machine: fixed check for 2 consecutive symbols
This commit is contained in:
@@ -589,7 +589,7 @@ class Economy:
|
|||||||
# Still nothing. Let's check for 3 generic same symbols
|
# Still nothing. Let's check for 3 generic same symbols
|
||||||
# or 2 consecutive symbols
|
# or 2 consecutive symbols
|
||||||
has_three = rows[1][0] == rows[1][1] == rows[1][2]
|
has_three = rows[1][0] == rows[1][1] == rows[1][2]
|
||||||
has_two = (rows[1][0] == rows[1][1]) or (rows[1][1] == rows[1][0])
|
has_two = (rows[1][0] == rows[1][1]) or (rows[1][1] == rows[1][2])
|
||||||
if has_three:
|
if has_three:
|
||||||
payout = PAYOUTS["3 symbols"]
|
payout = PAYOUTS["3 symbols"]
|
||||||
elif has_two:
|
elif has_two:
|
||||||
|
|||||||
Reference in New Issue
Block a user