Bandaid solution name setter events (#41400)
Ideally PDAs + IDs wouldn't be doing this but this is slamming it out.
This commit is contained in:
@@ -1217,7 +1217,7 @@ public abstract partial class SharedSolutionContainerSystem : EntitySystem
|
|||||||
var relation = new ContainedSolutionComponent() { Container = container.Owner, ContainerName = name };
|
var relation = new ContainedSolutionComponent() { Container = container.Owner, ContainerName = name };
|
||||||
AddComp(uid, relation);
|
AddComp(uid, relation);
|
||||||
|
|
||||||
MetaDataSys.SetEntityName(uid, $"solution - {name}");
|
MetaDataSys.SetEntityName(uid, $"solution - {name}", raiseEvents: false);
|
||||||
ContainerSystem.Insert(uid, container, force: true);
|
ContainerSystem.Insert(uid, container, force: true);
|
||||||
|
|
||||||
return (uid, solution, relation);
|
return (uid, solution, relation);
|
||||||
|
|||||||
Reference in New Issue
Block a user