Skip to content

Commit

Permalink
Hotfix join queue resolve in status shell
Browse files Browse the repository at this point in the history
  • Loading branch information
Morb0 committed Oct 3, 2023
1 parent f4f3672 commit 833ee6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/GameTicking/GameTicker.StatusShell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private void GetStatusResponse(JsonNode jObject)
lock (_statusShellLock)
{
// Corvax-Queue-Start
var players = IoCManager.Instance!.TryResolveType<IServerJoinQueueManager>(out var joinQueueManager)
var players = IoCManager.Instance?.TryResolveType<IServerJoinQueueManager>(out var joinQueueManager) ?? false
? joinQueueManager.ActualPlayersCount
: _playerManager.PlayerCount;
// Corvax-Queue-End
Expand Down

0 comments on commit 833ee6b

Please sign in to comment.