Fix construction graph ghost examine message (#22424)
This commit is contained in:
@@ -2,6 +2,7 @@ using System.Diagnostics.CodeAnalysis;
|
||||
using Content.Client.Popups;
|
||||
using Content.Shared.Construction;
|
||||
using Content.Shared.Construction.Prototypes;
|
||||
using Content.Shared.Construction.Steps;
|
||||
using Content.Shared.Examine;
|
||||
using Content.Shared.Input;
|
||||
using Content.Shared.Interaction;
|
||||
@@ -97,7 +98,11 @@ namespace Content.Client.Construction
|
||||
return;
|
||||
}
|
||||
|
||||
edge.Steps[0].DoExamine(args);
|
||||
foreach (ConstructionGraphStep step in edge.Steps)
|
||||
{
|
||||
args.Message.PushNewline();
|
||||
step.DoExamine(args);
|
||||
}
|
||||
}
|
||||
|
||||
public event EventHandler<CraftingAvailabilityChangedArgs>? CraftingAvailabilityChanged;
|
||||
|
||||
Reference in New Issue
Block a user