Skip to content

Commit

Permalink
Don't check blocking tech when incrementing tech node progress.
Browse files Browse the repository at this point in the history
There are already checks in place that prevent nodes getting moved above the prereqs.
  • Loading branch information
siimav committed Sep 28, 2024
1 parent 7711ff3 commit be9523c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Source/RP0/SpaceCenter/Projects/ResearchProject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,6 @@ public double GetTimeLeftEst(double offset)

public double IncrementProgress(double UTDiff)
{
// Don't progress blocked items
if (GetBlockingTech() != null)
return 0d;

double bR = BuildRate;
if (bR == 0d && PresetManager.Instance.ActivePreset.GeneralSettings.TechUnlockTimes)
return 0d;
Expand Down

0 comments on commit be9523c

Please sign in to comment.