Update GameScene.swift

Does this work?  I couldn't get it to work on my machine. 

func didBeginContact(contact: SKPhysicsContact) {
        let firstBody: SKPhysicsBody  = contact.bodyA;
        let secondBody: SKPhysicsBody = contact.bodyB;
        
        if(self.isJumping == true && (firstBody.node == self.hero || secondBody.node == self.hero)) {
            self.isJumping = false;
            self.move = .None;
        }
    }