     
     
     // MARK: Enemy texture matrix.
-    let textureMatrix = [[SKTexture?]](repeating: [SKTexture?](repeating: nil, count: 4), count: 3)
+    var textureMatrix = [[SKTexture?]](repeating: [SKTexture?](repeating: nil, count: 4), count: 3)
     
     // MARK: Configuration variables.
     let spinnyStuff = UserDefaults.standard.value(forKey: "spinnyStuff") ?? false

            #endif
        }
        
        for var enemy in textureMatrix {
            for stage in 0...3 {
                enemy[stage] = atlas.textureNamed("spacesprite\(enemy).\(stage).png")
            }
        }
        spawnEnemies()
    }


    
    // MARK: Player Deterioration
    func playerDeter() {
        badGuys?.particleBirthRate *= 0.999
        print("Spawn rate: " + String(describing: badGuys?.particleBirthRate))
    }
    
