diff --git a/Content.Server/Connection/ConnectionManager.cs b/Content.Server/Connection/ConnectionManager.cs index 8941924f8c3..c37cbeb632f 100644 --- a/Content.Server/Connection/ConnectionManager.cs +++ b/Content.Server/Connection/ConnectionManager.cs @@ -236,11 +236,13 @@ private async Task NetMgrOnConnecting(NetConnectingArgs e) // Corvax-Queue-Start: Make these conditions in one place, for checks in the connection and in the queue public async Task HavePrivilegedJoin(NetUserId userId) { + var isAdmin = await _dbManager.GetAdminDataForAsync(userId) != null; var havePriorityJoin = _sponsorsMgr != null && _sponsorsMgr.HavePriorityJoin(userId); // Corvax-Sponsors var wasInGame = EntitySystem.TryGet(out var ticker) && ticker.PlayerGameStatuses.TryGetValue(userId, out var status) && status == PlayerGameStatus.JoinedGame; - return havePriorityJoin || // Corvax-Sponsors + return isAdmin || + havePriorityJoin || // Corvax-Sponsors wasInGame; } // Corvax-Queue-End