fixed debug release check (#562)
This commit is contained in:
@@ -224,8 +224,6 @@ namespace Content.Server.GameTicking
|
||||
if (LobbyEnabled && status != PlayerGameStatus.ReadyToPlay) continue;
|
||||
if (!_playerManager.TryGetSessionById(userId, out var session)) continue;
|
||||
|
||||
#if FULL_RELEASE // dont deadmin me in debug
|
||||
|
||||
var autoDeAdmin = _cfg.GetCVar(CCVars.AdminDeadminOnJoin);
|
||||
|
||||
if (autoDeAdmin && _adminManager.IsAdmin(session))
|
||||
@@ -233,8 +231,6 @@ namespace Content.Server.GameTicking
|
||||
_adminManager.DeAdmin(session);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
if (stalinBunkerEnabled)
|
||||
{
|
||||
await _stalinManager.RefreshUsersData();
|
||||
|
||||
Reference in New Issue
Block a user