From 16cfbd3d14c3860ffc84c6051057e7d5b1e36ef5 Mon Sep 17 00:00:00 2001 From: Connor Huffine Date: Sat, 1 Nov 2025 21:08:19 -0400 Subject: [PATCH] Remove warning from CloningPodSystem (#41246) * Change raw string to protoId * Address comment --- Content.Server/Cloning/CloningPodSystem.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Content.Server/Cloning/CloningPodSystem.cs b/Content.Server/Cloning/CloningPodSystem.cs index 2f113bee57..67d6dc39a6 100644 --- a/Content.Server/Cloning/CloningPodSystem.cs +++ b/Content.Server/Cloning/CloningPodSystem.cs @@ -29,6 +29,7 @@ using Robust.Shared.Containers; using Robust.Shared.Physics.Components; using Robust.Shared.Prototypes; using Robust.Shared.Random; +using Content.Shared.Chemistry.Reagent; namespace Content.Server.Cloning; @@ -58,6 +59,7 @@ public sealed class CloningPodSystem : EntitySystem public readonly Dictionary ClonesWaitingForMind = new(); public readonly ProtoId SettingsId = "CloningPod"; public const float EasyModeCloningCost = 0.7f; + private static readonly ProtoId BloodId = "Blood"; public override void Initialize() { @@ -302,7 +304,7 @@ public sealed class CloningPodSystem : EntitySystem while (i < 1) { tileMix?.AdjustMoles(Gas.Ammonia, 6f); - bloodSolution.AddReagent("Blood", 50); + bloodSolution.AddReagent(BloodId, 50); if (_robustRandom.Prob(0.2f)) i++; }