From 6a5300d6e393445ea0e85fb7d3573b41286d03c7 Mon Sep 17 00:00:00 2001 From: Rane <60792108+Elijahrane@users.noreply.github.com> Date: Thu, 3 Nov 2022 20:57:44 -0400 Subject: [PATCH] fix lsobjectives (#12365) --- Content.Server/Objectives/Commands/ListObjectivesCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Objectives/Commands/ListObjectivesCommand.cs b/Content.Server/Objectives/Commands/ListObjectivesCommand.cs index f873780b98..a2c7851bb0 100644 --- a/Content.Server/Objectives/Commands/ListObjectivesCommand.cs +++ b/Content.Server/Objectives/Commands/ListObjectivesCommand.cs @@ -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}"); } }