From 374e6e67d2f3d07fd5d9ca6e96d21fca6a667fca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Sun, 30 Nov 2014 14:21:31 +0100 Subject: [PATCH] Fix crash in record-options. --- Vocaluxe/Base/CConfig.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Vocaluxe/Base/CConfig.cs b/Vocaluxe/Base/CConfig.cs index 347c39bb..a3e1ad2e 100644 --- a/Vocaluxe/Base/CConfig.cs +++ b/Vocaluxe/Base/CConfig.cs @@ -219,6 +219,8 @@ namespace Vocaluxe.Base return GameMusicVolume; case EMusicType.Background: return BackgroundMusicVolume; + case EMusicType.None: + return 0; default: throw new ArgumentException("Invalid type: " + type); }