Don't distrubute Nones from the hand overflow

This commit is contained in:
Juhani Krekelä 2019-05-13 10:38:04 +03:00
parent 1781614e27
commit adfd2c81c8
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ def game(send, notice, voice, devoice, get_event):
# Move the cards outside of the current hand size into
# the hand
overflow = player.hand[hand_size:]
overflow = [i for i in player.hand[hand_size:] if i is not None]
player.hand = player.hand[:hand_size]
for index in range(len(player.hand)):
if len(overflow) == 0: