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.Client.Popups;
|
||||||
using Content.Shared.Construction;
|
using Content.Shared.Construction;
|
||||||
using Content.Shared.Construction.Prototypes;
|
using Content.Shared.Construction.Prototypes;
|
||||||
|
using Content.Shared.Construction.Steps;
|
||||||
using Content.Shared.Examine;
|
using Content.Shared.Examine;
|
||||||
using Content.Shared.Input;
|
using Content.Shared.Input;
|
||||||
using Content.Shared.Interaction;
|
using Content.Shared.Interaction;
|
||||||
@@ -97,7 +98,11 @@ namespace Content.Client.Construction
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
edge.Steps[0].DoExamine(args);
|
foreach (ConstructionGraphStep step in edge.Steps)
|
||||||
|
{
|
||||||
|
args.Message.PushNewline();
|
||||||
|
step.DoExamine(args);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event EventHandler<CraftingAvailabilityChangedArgs>? CraftingAvailabilityChanged;
|
public event EventHandler<CraftingAvailabilityChangedArgs>? CraftingAvailabilityChanged;
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
- material: Steel
|
- material: Steel
|
||||||
amount: 4
|
amount: 4
|
||||||
doAfter: 4
|
doAfter: 4
|
||||||
|
|
||||||
- material: MetalRod
|
- material: MetalRod
|
||||||
amount: 4
|
amount: 4
|
||||||
doAfter: 4
|
doAfter: 4
|
||||||
|
|||||||
Reference in New Issue
Block a user