Disable re-adminning infinitely (#11174)
This commit is contained in:
@@ -87,6 +87,11 @@ namespace Content.Server.Administration.Managers
|
||||
throw new ArgumentException($"Player {session} is not an admin");
|
||||
}
|
||||
|
||||
if (reg.Data.Active)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_chat.DispatchServerMessage(session, Loc.GetString("admin-manager-became-admin-message"));
|
||||
|
||||
var plyData = session.ContentData()!;
|
||||
|
||||
Reference in New Issue
Block a user