Command resolves (#38415)

touchups
This commit is contained in:
Kyle Tyo
2025-06-17 19:40:33 -04:00
committed by GitHub
parent 9a605c8642
commit 284cf25905
3 changed files with 10 additions and 13 deletions

View File

@@ -249,10 +249,9 @@ namespace Content.Server.Voting
public override CompletionResult GetCompletion(IConsoleShell shell, string[] args)
{
var mgr = IoCManager.Resolve<IVoteManager>();
if (args.Length == 1)
{
var options = mgr.ActiveVotes
var options = _voteManager.ActiveVotes
.OrderBy(v => v.Id)
.Select(v => new CompletionOption(v.Id.ToString(), v.Title));