Remove outdated access reader method. (#19765)
This commit is contained in:
@@ -70,7 +70,7 @@ public sealed partial class ResearchConsoleMenu : FancyWindow
|
||||
|
||||
var hasAccess = _player.LocalPlayer?.ControlledEntity is not { } local ||
|
||||
!_entity.TryGetComponent<AccessReaderComponent>(Entity, out var access) ||
|
||||
_accessReader.IsAllowed(local, access);
|
||||
_accessReader.IsAllowed(local, Entity, access);
|
||||
foreach (var techId in _technologyDatabase.CurrentTechnologyCards)
|
||||
{
|
||||
var tech = _prototype.Index<TechnologyPrototype>(techId);
|
||||
|
||||
Reference in New Issue
Block a user