removes beforeserialization hook (#12319)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using Content.Server.Power.EntitySystems;
|
||||
using Content.Server.Station.Systems;
|
||||
using Content.Server.Research.Components;
|
||||
using Content.Server.Station.Systems;
|
||||
using Content.Shared.Research.Prototypes;
|
||||
|
||||
namespace Content.Server.Research;
|
||||
@@ -70,7 +70,7 @@ public sealed partial class ResearchSystem
|
||||
TechnologyDatabaseComponent? databaseComponent = null)
|
||||
{
|
||||
if (!Resolve(component.Owner, ref databaseComponent, false)) return false;
|
||||
return databaseComponent.IsTechnologyUnlocked(prototype);
|
||||
return databaseComponent.IsTechnologyUnlocked(prototype.ID);
|
||||
}
|
||||
|
||||
public bool CanUnlockTechnology(ResearchServerComponent component, TechnologyPrototype technology, TechnologyDatabaseComponent? databaseComponent = null)
|
||||
|
||||
Reference in New Issue
Block a user