From 3901a95cd302bc00f907c9b12a96ad16440d1b84 Mon Sep 17 00:00:00 2001 From: Florian Kuepper Date: Thu, 12 Apr 2012 11:44:52 +0200 Subject: [PATCH] Use only active profiles from config.xml. --- Vocaluxe/Base/CConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vocaluxe/Base/CConfig.cs b/Vocaluxe/Base/CConfig.cs index e6300f7e..f1fc7a56 100644 --- a/Vocaluxe/Base/CConfig.cs +++ b/Vocaluxe/Base/CConfig.cs @@ -996,7 +996,7 @@ namespace Vocaluxe.Base { if (Players[j] != string.Empty) { - if (Path.GetFileName(CProfiles.Profiles[i].ProfileFile) == Players[j]) + if (Path.GetFileName(CProfiles.Profiles[i].ProfileFile) == Players[j] && CProfiles.Profiles[i].Active == EOffOn.TR_CONFIG_ON) { //Update Game-infos with player CGame.Player[j].Name = CProfiles.Profiles[i].PlayerName;