diff --git a/Output/Profiles/guest1.xml b/Output/Profiles/guest1.xml index ba6d26f6..4a528851 100644 --- a/Output/Profiles/guest1.xml +++ b/Output/Profiles/guest1.xml @@ -4,7 +4,7 @@ Guest 1 TR_CONFIG_EASY Avatar_f.png - TR_CONFIG_ON + TR_USERROLE_GUEST TR_CONFIG_ON \ No newline at end of file diff --git a/Output/Profiles/guest2.xml b/Output/Profiles/guest2.xml index 3823fdf5..15437dc4 100644 --- a/Output/Profiles/guest2.xml +++ b/Output/Profiles/guest2.xml @@ -4,7 +4,7 @@ Guest 2 TR_CONFIG_EASY Avatar_f.png - TR_CONFIG_ON + TR_USERROLE_GUEST TR_CONFIG_ON \ No newline at end of file diff --git a/Output/Profiles/guest3.xml b/Output/Profiles/guest3.xml index df4b05cf..ad1d56f6 100644 --- a/Output/Profiles/guest3.xml +++ b/Output/Profiles/guest3.xml @@ -4,7 +4,7 @@ Guest 3 TR_CONFIG_EASY Avatar_m.png - TR_CONFIG_ON + TR_USERROLE_NORMAL TR_CONFIG_ON \ No newline at end of file diff --git a/VocaluxeLib/Menu/CNameSelection.cs b/VocaluxeLib/Menu/CNameSelection.cs index 274a8307..6314a194 100644 --- a/VocaluxeLib/Menu/CNameSelection.cs +++ b/VocaluxeLib/Menu/CNameSelection.cs @@ -509,7 +509,7 @@ namespace VocaluxeLib.Menu { //Don't show profile if is selected, but if selected and guest if (CBase.Game.GetPlayers()[p].ProfileID == profile.ID - && !profile.UserRole.HasFlag(EUserRole.TR_USERROLE_NORMAL)) + && profile.UserRole >= EUserRole.TR_USERROLE_NORMAL) visible = false; } }