We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87c7979 commit b8074eaCopy full SHA for b8074ea
Content.Server/Station/Systems/StationSpawningSystem.cs
@@ -188,7 +188,7 @@ public EntityUid SpawnPlayerMob(
188
_humanoidSystem.LoadProfile(entity.Value, profile);
189
_metaSystem.SetEntityName(entity.Value, profile.Name);
190
if (profile.FlavorText != "" && _configurationManager.GetCVar(CCVars.FlavorText))
191
- AddComp<DetailExaminableComponent>(entity.Value).Content = profile.FlavorText;
+ EnsureComp<DetailExaminableComponent>(entity.Value).Content = profile.FlavorText;
192
}
193
194
DoJobSpecials(job, entity.Value);
0 commit comments