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


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

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