From 58b5a74748f7e87cd5fd0a134e06665f8e67a032 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 30 Aug 2015 10:05:13 -0700 Subject: [PATCH] Allow audio to be enabled in the menu. Previously, if it was disabled at first, enabling it wouldn't work - you still would not get the audio. --- UI/BackgroundAudio.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/UI/BackgroundAudio.cpp b/UI/BackgroundAudio.cpp index cccb9ba7de..e0a6baf8a6 100644 --- a/UI/BackgroundAudio.cpp +++ b/UI/BackgroundAudio.cpp @@ -185,11 +185,6 @@ void SetBackgroundAudioGame(const std::string &path) { return; } - if (!g_Config.bEnableSound) { - ClearBackgroundAudio(); - return; - } - ClearBackgroundAudio(); gameLastChanged = time_now_d(); bgGamePath = path;