diff --git a/gameOfLife.py b/gameOfLife.py index 78fab18..6147de9 100644 --- a/gameOfLife.py +++ b/gameOfLife.py @@ -91,6 +91,6 @@ for frame in range(500): gameBoard = gameBoardNextStep if(gameBoard == lastGameBoard): for i in range(20): - animation.addFrame(newFrame) + animation.addFrame(newframe) break writebml.writeBml(animation, '/home/pi/animations/gameOfLife.bml')