Replace usages of customTypeSerializer PrototypeIdListSerializer with something that doesn't take 20 separate words to type out (#37959)
* Replace usages of customTypeSerializer PrototypeIdListSerializer with something that doesn't take 20 separate words to type out * Missed one * Missed another * Fix data field ids
This commit is contained in:
@@ -2,6 +2,7 @@ using Content.Shared.Database;
|
||||
using Content.Shared.Research.Components;
|
||||
using Content.Shared.Research.Prototypes;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Server.Research.Systems;
|
||||
|
||||
@@ -165,9 +166,9 @@ public sealed partial class ResearchSystem
|
||||
return;
|
||||
component.MainDiscipline = null;
|
||||
component.CurrentTechnologyCards = new List<string>();
|
||||
component.SupportedDisciplines = new List<string>();
|
||||
component.UnlockedTechnologies = new List<string>();
|
||||
component.UnlockedRecipes = new List<string>();
|
||||
component.SupportedDisciplines = new List<ProtoId<TechDisciplinePrototype>>();
|
||||
component.UnlockedTechnologies = new List<ProtoId<TechnologyPrototype>>();
|
||||
component.UnlockedRecipes = new List<ProtoId<LatheRecipePrototype>>();
|
||||
Dirty(uid, component);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user