From 7098710831caa98fff3cef25eb0f4e757e5d022e Mon Sep 17 00:00:00 2001 From: sleepyyapril Date: Sat, 4 Jan 2025 15:06:42 -0400 Subject: [PATCH] Use EnsureComp --- Content.Server/Station/Systems/StationSpawningSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Station/Systems/StationSpawningSystem.cs b/Content.Server/Station/Systems/StationSpawningSystem.cs index 79192d49b40..8375622c1eb 100644 --- a/Content.Server/Station/Systems/StationSpawningSystem.cs +++ b/Content.Server/Station/Systems/StationSpawningSystem.cs @@ -188,7 +188,7 @@ public EntityUid SpawnPlayerMob( _humanoidSystem.LoadProfile(entity.Value, profile); _metaSystem.SetEntityName(entity.Value, profile.Name); if (profile.FlavorText != "" && _configurationManager.GetCVar(CCVars.FlavorText)) - AddComp(entity.Value).Content = profile.FlavorText; + EnsureComp(entity.Value).Content = profile.FlavorText; } DoJobSpecials(job, entity.Value);