mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Disable re-adminning infinitely (#11174)
This commit is contained in:
parent
d63101efbb
commit
e1782ec22b
1 changed files with 5 additions and 0 deletions
|
|
@ -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()!;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue