Avoid more nesting.
No reason to check the lines after the player has been found.