From 044aa4c8dc4d28af3493f984964801c1c456a63b Mon Sep 17 00:00:00 2001 From: ScholarNZL Date: Mon, 26 Jan 2026 18:55:54 +1300 Subject: [PATCH] Add Part Assembly and Temprature Construction Validations for Dev builds (#41396) Resolves 43194; part ass. and temp con. validation --- .../Construction/ConstructionSystem.Interactions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Construction/ConstructionSystem.Interactions.cs b/Content.Server/Construction/ConstructionSystem.Interactions.cs index 77a1a63e02a..f855d26f4f9 100644 --- a/Content.Server/Construction/ConstructionSystem.Interactions.cs +++ b/Content.Server/Construction/ConstructionSystem.Interactions.cs @@ -410,7 +410,7 @@ namespace Content.Server.Construction if ((!temperatureChangeStep.MinTemperature.HasValue || temp >= temperatureChangeStep.MinTemperature.Value) && (!temperatureChangeStep.MaxTemperature.HasValue || temp <= temperatureChangeStep.MaxTemperature.Value)) { - return HandleResult.True; + return validation ? HandleResult.Validated : HandleResult.True; } return HandleResult.False; @@ -422,7 +422,7 @@ namespace Content.Server.Construction break; if (partAssemblyStep.Condition(uid, EntityManager)) - return HandleResult.True; + return validation ? HandleResult.Validated : HandleResult.True; return HandleResult.False; }