Use only active profiles from config.xml.

This commit is contained in:
Florian Kuepper committed 2012-04-12 11:44:52 +02:00
1 parent ddee8f5fae
commit 3901a95cd3
1 file changed
+1 -1
+1 -1
View File
@@ -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;