fix betting on 0

pull/2/head
justcool393 2022-11-21 09:13:14 -06:00
parent 4d096a5bb6
commit f52aec0477
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ def roulette_player_placed_bet(v):
try: which_int = int(which)
except: which_int = None
if not bet_type.validation_function(which_int or which):
if not bet_type.validation_function(which if which_int is None else which_int):
abort(400, f"Not a valid roulette bet for bet type {bet_type.value[0]}")
try: