From 51acc34fb2ddd2df2816b78cc8b262aa54d20991 Mon Sep 17 00:00:00 2001 From: Daniel Steckert <71stda1bif@hft-stuttgart.de> Date: Thu, 25 Jun 2020 18:25:22 +0200 Subject: [PATCH] Remove unnessary code --- GoldWars/GoldWars/SoundManager.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/GoldWars/GoldWars/SoundManager.swift b/GoldWars/GoldWars/SoundManager.swift index a11187a..bd27bfb 100644 --- a/GoldWars/GoldWars/SoundManager.swift +++ b/GoldWars/GoldWars/SoundManager.swift @@ -48,7 +48,6 @@ class SoundManager { effectPlayer.prepareToPlay() if self.isMusicEnabled == true { effectPlayer.play() - UserDefaults.standard.set(false, forKey: "noMusic") } }