fix lsobjectives (#12365)

This commit is contained in:
Rane 2022-11-03 20:57:44 -04:00 committed by GitHub
parent af56b3e47b
commit 6a5300d6e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}");
}
}