 
         override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
             for t in touches {
-                for i in self.nodes(at: t.location(in: self)) {
+                for i in self.nodes(at: t.location(in: self)) && self.playerDied {
                     if i.name == "overScreen" {
                         restart()
                     }

            self.badGuys?.isHidden = false
            
            self.overScreen?.run(SKAction.scale(to: 4.0, duration: 1.5))
            self.overScreen?.isUserInteractionEnabled = true
            self.playerDied = true
            
            backgroundMusic?.run(SKAction.stop())

    extension GameScene {

        override func mouseDown(with event: NSEvent) {
            for i in self.nodes(at: t.location(in: self)) && self.playerDied {
                if i.name == "overScreen" {
                    restart()
                }
