How to change an image in Xcode when a score changes : I have been creating an Xcode game in swift using sprite kit, however when I try to change the characters image when the high score goes above 40 it doesn't work. 

this is the code:

    `if  highScore >= 40{
            player = SKSpriteNode(imageNamed: "start")
        }`

Not too sure where I am going wrong but any advice would be much appreciated! I can also add more bits of code or a link to the source code etc should you wish. Have a great day!