@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user