Rename "Default profile", hide character controls when profile is set as default

This commit is contained in:
RisaDev
2024-06-17 17:39:22 +03:00
parent 6a55cccf0d
commit 822995530e
2 changed files with 30 additions and 21 deletions

View File

@@ -505,6 +505,10 @@ public class ProfileManager : IDisposable
bool IsProfileAppliesToCurrentActor(Profile profile)
{
//default profile check is done later
if (profile == DefaultProfile)
return false;
return profile.CharacterName.Text == name &&
(!profile.LimitLookupToOwnedObjects ||
(actorIdentifier.Type == IdentifierType.Owned &&