fix lsobjectives (#12365)
This commit is contained in:
parent
af56b3e47b
commit
6a5300d6e3
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ using Robust.Shared.Console;
|
|||
|
||||
namespace Content.Server.Objectives.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
[AdminCommand(AdminFlags.Logs)]
|
||||
public sealed class ListObjectivesCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "lsobjectives";
|
||||
|
|
@ -42,7 +42,7 @@ namespace Content.Server.Objectives.Commands
|
|||
}
|
||||
for (var i = 0; i < objectives.Count; i++)
|
||||
{
|
||||
shell.WriteLine($"- [{i}] {objectives[i]}");
|
||||
shell.WriteLine($"- [{i + 1}] {objectives[i].Conditions[0].Title}");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue