Fix all objectives on end screen being bolded (#23345)
fix all objectives on end screen being bolded.
This commit is contained in:
@@ -116,10 +116,10 @@ public sealed class ObjectivesSystem : SharedObjectivesSystem
|
||||
|
||||
result += "\n";
|
||||
|
||||
var custody = IsInCustody(mindId, mind) ? Loc.GetString("objectives-in-custody") + " " : "";
|
||||
var custody = IsInCustody(mindId, mind) ? Loc.GetString("objectives-in-custody") : string.Empty;
|
||||
|
||||
var objectives = mind.AllObjectives.ToArray();
|
||||
if (objectives.Length == 0)
|
||||
var objectives = mind.Objectives;
|
||||
if (objectives.Count == 0)
|
||||
{
|
||||
result += Loc.GetString("objectives-no-objectives", ("custody", custody), ("title", title), ("agent", agent));
|
||||
continue;
|
||||
|
||||
@@ -9,10 +9,10 @@ objectives-player-user-named = [color=White]{$name}[/color] ([color=gray]{$user}
|
||||
objectives-player-user = [color=gray]{$user}[/color]
|
||||
objectives-player-named = [color=White]{$name}[/color]
|
||||
|
||||
objectives-no-objectives = [bold][color=red]{$custody}[/color]{$title} was a {$agent}.
|
||||
objectives-with-objectives = [bold][color=red]{$custody}[/color]{$title} was a {$agent} who had the following objectives:
|
||||
objectives-no-objectives = {$custody}{$title} was a {$agent}.
|
||||
objectives-with-objectives = {$custody}{$title} was a {$agent} who had the following objectives:
|
||||
|
||||
objectives-objective-success = {$objective} | [color={$markupColor}]Success![/color]
|
||||
objectives-objective-fail = {$objective} | [color={$markupColor}]Failure![/color] ({$progress}%)
|
||||
|
||||
objectives-in-custody = | IN CUSTODY |
|
||||
objectives-in-custody = [bold][color=red]| IN CUSTODY | [/color][/bold]
|
||||
|
||||
Reference in New Issue
Block a user