Better notes and bans (#14228)
Co-authored-by: Chief-Engineer <119664036+Chief-Engineer@users.noreply.github.com>
This commit is contained in:
@@ -198,7 +198,7 @@ namespace Content.Server.GameTicking
|
||||
#if DEBUG
|
||||
DebugTools.Assert(_userDb.IsLoadComplete(session), $"Player was readied up but didn't have user DB data loaded yet??");
|
||||
#endif
|
||||
if (_roleBanManager.GetRoleBans(userId) == null)
|
||||
if (_banManager.GetRoleBans(userId) == null)
|
||||
{
|
||||
Logger.ErrorS("RoleBans", $"Role bans for player {session} {userId} have not been loaded yet.");
|
||||
continue;
|
||||
@@ -437,7 +437,7 @@ namespace Content.Server.GameTicking
|
||||
|
||||
_mapManager.Restart();
|
||||
|
||||
_roleBanManager.Restart();
|
||||
_banManager.Restart();
|
||||
|
||||
_gameMapManager.ClearSelectedMap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user