Display the administrator's title in ahelp and ahelp relay (#30075)

* Adding the admin prefix to the ahelp

* Updating the admin prefix

* The second update of the admin prefix

* Configuration correction
This commit is contained in:
to4no_fix
2024-08-03 06:59:20 +03:00
committed by GitHub
parent 893180038f
commit 64273cb914
4 changed files with 50 additions and 5 deletions

View File

@@ -458,7 +458,7 @@ namespace Content.Server.Administration.Managers
Flags = flags
};
if (dbData.Title != null)
if (dbData.Title != null && _cfg.GetCVar(CCVars.AdminUseCustomNamesAdminRank))
{
data.Title = dbData.Title;
}