Rename Reverse Engineered Techdisks to their recipe name (#6203)

Rename Reverse Engineered Techfabs to their recipe name
This commit is contained in:
Coryn 2026-07-03 17:54:43 +02:00 committed by GitHub
parent bfea51537b
commit 2c6766dce2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
using Content.Shared.NameModifier.EntitySystems;
using Content.Shared.Popups;
using Content.Shared.Power;
using Content.Shared.Research.Prototypes;
@ -12,6 +13,7 @@ public sealed class ReverseEngineeringSystem : SharedReverseEngineeringSystem
{
[Dependency] private readonly IRobustRandom _random = default!;
[Dependency] private readonly SharedPopupSystem _popup = default!;
[Dependency] private readonly NameModifierSystem _nameModifier = default!;
public override void Initialize()
{
@ -146,5 +148,6 @@ public sealed class ReverseEngineeringSystem : SharedReverseEngineeringSystem
disk.Recipes = new();
foreach (var id in recipes)
disk.Recipes.Add(id);
_nameModifier.RefreshNameModifiers(uid);
}
}