diff --git a/Content.Server/Corvax/PlayerSlots/PlayerSlotsManager.cs b/Content.Server/Corvax/PlayerSlots/PlayerSlotsManager.cs index e406604526..c4c5261dca 100644 --- a/Content.Server/Corvax/PlayerSlots/PlayerSlotsManager.cs +++ b/Content.Server/Corvax/PlayerSlots/PlayerSlotsManager.cs @@ -22,30 +22,30 @@ public sealed class PlayerSlotsManager /// /// Value that mostly must be used to determine total players - /// Ignores admins and sponsors + /// Ignores privileged if enabled /// - public int PlayersCount => _playerManager.PlayerCount - _privilegedCount; + public int PlayersCount + { + get + { + if (_ignorePrivileged) + return _playerManager.PlayerCount - _privilegedCount; + + return _playerManager.PlayerCount; + } + } /// /// The actual number of players currently playing - /// Ignore that stay in queue + /// Ignore only that stay in queue /// public int InGamePlayersCount => _playerManager.PlayerCount - _queueManager.PlayerInQueueCount; /// /// Online that must be visible publicly - /// Does not take into account players in the queue and sponsors + /// Ignores privileged if enabled and in queue /// - public int PublicPlayersCount - { - get - { - if (_ignorePrivileged) - return InGamePlayersCount - _privilegedCount; - - return InGamePlayersCount; - } - } + public int PublicPlayersCount => PlayersCount - _queueManager.PlayerInQueueCount; public void Initialize() {