Remove unnecessary code
This commit is contained in:
parent
58f6032e06
commit
6930c83918
@ -38,7 +38,6 @@ class SoundManager {
|
||||
}
|
||||
|
||||
func playSoundEffect(pathToFile: String, fileExtension: String, volumeLevel: Float){
|
||||
self.isMusicPlaying = true
|
||||
soundEffect = Bundle.main.url(forResource: pathToFile, withExtension: fileExtension)
|
||||
do {
|
||||
effectPlayer = try AVAudioPlayer(contentsOf: soundEffect!)
|
||||
|
Loading…
Reference in New Issue
Block a user