From e42d99dddaf0512cf95ea4ce26391f3d71c5bdc5 Mon Sep 17 00:00:00 2001 From: Sam Weaver Date: Thu, 13 Jan 2022 09:33:39 -0500 Subject: [PATCH] Fixes #6041. Multi-steps in construction graph visible in examine menu. (#6043) --- Content.Server/Construction/ConstructionSystem.Guided.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Content.Server/Construction/ConstructionSystem.Guided.cs b/Content.Server/Construction/ConstructionSystem.Guided.cs index df2bba80bc..11132a16cb 100644 --- a/Content.Server/Construction/ConstructionSystem.Guided.cs +++ b/Content.Server/Construction/ConstructionSystem.Guided.cs @@ -95,7 +95,9 @@ namespace Content.Server.Construction preventStepExamine |= condition.DoExamine(args); } - if (preventStepExamine) return; + if (!preventStepExamine && component.StepIndex < edge.Steps.Count) + edge.Steps[component.StepIndex].DoExamine(args); + return; } }