fix lsobjectives (#12365)
This commit is contained in:
@@ -7,7 +7,7 @@ using Robust.Shared.Console;
|
|||||||
|
|
||||||
namespace Content.Server.Objectives.Commands
|
namespace Content.Server.Objectives.Commands
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Admin)]
|
[AdminCommand(AdminFlags.Logs)]
|
||||||
public sealed class ListObjectivesCommand : IConsoleCommand
|
public sealed class ListObjectivesCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "lsobjectives";
|
public string Command => "lsobjectives";
|
||||||
@@ -42,7 +42,7 @@ namespace Content.Server.Objectives.Commands
|
|||||||
}
|
}
|
||||||
for (var i = 0; i < objectives.Count; i++)
|
for (var i = 0; i < objectives.Count; i++)
|
||||||
{
|
{
|
||||||
shell.WriteLine($"- [{i}] {objectives[i]}");
|
shell.WriteLine($"- [{i + 1}] {objectives[i].Conditions[0].Title}");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user