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;
|
||||
|
||||
Reference in New Issue
Block a user