diff --git a/pixo/pixels.py b/pixo/pixels.py index 18b0649..c9c4d87 100644 --- a/pixo/pixels.py +++ b/pixo/pixels.py @@ -126,7 +126,7 @@ class Pixo: already_changed = [] while len(already_changed) < TOTAL_DOTS: dot = random.randrange(0, TOTAL_DOTS) - if dot not in already_changed: + if dot not in already_changed and not BOARD[dot] == image[dot]: already_changed.append(dot) BOARD[dot] = image[dot]