Fix setting adult, mostly
This commit is contained in:
@@ -172,6 +172,7 @@ int LLAgentAccess::convertTextToMaturity(char text)
|
||||
void LLAgentAccess::setMaturity(char text)
|
||||
{
|
||||
mAccess = LLAgentAccess::convertTextToMaturity(text);
|
||||
llinfos << "Setting agent maturity to " << text << " " << (int)mAccess << llendl;
|
||||
U32 preferred_access = mSavedSettings.getU32("PreferredMaturity");
|
||||
while (!canSetMaturity(preferred_access))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user