Skip to content

Commit

Permalink
Updated debug queues command feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
B3none committed Jan 7, 2024
1 parent e19d5bf commit 736cde0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion RetakesPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,12 @@ public void OnCommandAddSpawn(CCSPlayerController? player, CommandInfo commandIn
[RequiresPermissions("@css/root")]
public void OnCommandDebugState(CCSPlayerController? player, CommandInfo commandInfo)
{
Console.WriteLine($"{LogPrefix}");
if (_gameManager == null)
{
Console.WriteLine($"{LogPrefix}Game manager not loaded.");
return;
}

_gameManager.QueueManager.DebugQueues(true);
}

Expand Down

0 comments on commit 736cde0

Please sign in to comment.