Localize sentience event target flavors (#11726)

This commit is contained in:
Morb
2022-11-09 02:36:13 +03:00
committed by GitHub
parent dce05efec4
commit 65e6744e3e
5 changed files with 14 additions and 8 deletions

View File

@@ -34,7 +34,7 @@ public sealed class RandomSentience : StationEventSystem
var comp = EntityManager.AddComponent<GhostTakeoverAvailableComponent>(target.Owner);
comp.RoleName = EntityManager.GetComponent<MetaDataComponent>(target.Owner).EntityName;
comp.RoleDescription = Loc.GetString("station-event-random-sentience-role-description", ("name", comp.RoleName));
groups.Add(target.FlavorKind);
groups.Add(Loc.GetString(target.FlavorKind));
}
if (groups.Count == 0)