Give names to solution & identity entities (#26993)

This commit is contained in:
Leon Friedrich
2024-04-16 16:26:47 +12:00
committed by DEATHB4DEFEAT
parent 3942839f40
commit 89baca6fa1
3 changed files with 3 additions and 1 deletions

View File

@@ -149,12 +149,12 @@ public sealed partial class SolutionContainerSystem : SharedSolutionContainerSys
var relation = new ContainedSolutionComponent() { Container = container.Owner, ContainerName = name };
AddComp(uid, relation);
MetaData.SetEntityName(uid, $"solution - {name}");
ContainerSystem.Insert(uid, container, force: true);
return (uid, solution, relation);
}
#region Event Handlers
private void OnMapInit(Entity<SolutionContainerManagerComponent> entity, ref MapInitEvent args)