bugfix: fixes typo, correctly tests is not None on win condition