     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()
                 }

        badGuys?.particleBirthRate = 0.3
        badGuys?.position = CGPoint(x: 0, y: 0)
        self.overScreen?.run(SKAction.scale(to: 0, duration: 1.5))
        self.overScreen?.isUserInteractionEnabled = false
        self.kills = 0
        
        backgroundMusic?.run(SKAction.play())

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