Mind ecs (#14412)
This commit is contained in:
@@ -26,9 +26,9 @@ public sealed class CharacterInfoSystem : EntitySystem
|
||||
var conditions = new Dictionary<string, List<ConditionInfo>>();
|
||||
var jobTitle = "No Profession";
|
||||
var briefing = "!!ERROR: No Briefing!!"; //should never show on the UI unless there's a bug
|
||||
if (EntityManager.TryGetComponent(entity, out MindComponent? mindComponent) && mindComponent.Mind != null)
|
||||
if (EntityManager.TryGetComponent(entity, out MindContainerComponent? mindContainerComponent) && mindContainerComponent.Mind != null)
|
||||
{
|
||||
var mind = mindComponent.Mind;
|
||||
var mind = mindContainerComponent.Mind;
|
||||
|
||||
// Get objectives
|
||||
foreach (var objective in mind.AllObjectives)
|
||||
|
||||
Reference in New Issue
Block a user