Skip to content

Commit

Permalink
Removes all blocks from research (#107)
Browse files Browse the repository at this point in the history
Pirateia as tecnologias da pesquisa
  • Loading branch information
rbertoche committed Feb 19, 2024
1 parent 05ac902 commit 26a5c41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ public sealed partial class TechDisciplinePrototype : IPrototype
/// Purchasing this tier of technology causes a server to become "locked" to this discipline.
/// </summary>
[DataField("lockoutTier")]
public int LockoutTier = 3;
public int LockoutTier = 4;
}
1 change: 1 addition & 0 deletions Content.Shared/Research/Systems/SharedResearchSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ public bool IsTechnologyUnlocked(EntityUid uid, string technologyId, TechnologyD

public void TrySetMainDiscipline(TechnologyPrototype prototype, EntityUid uid, TechnologyDatabaseComponent? component = null)
{
return;
if (!Resolve(uid, ref component))
return;

Expand Down

0 comments on commit 26a5c41

Please sign in to comment.