Research fixes

This commit is contained in:
Anuken
2020-07-24 23:56:14 -04:00
parent 38e55ab541
commit 20077738d2
9 changed files with 48 additions and 38 deletions
@@ -150,7 +150,8 @@ public class Reconstructor extends UnitBlock{
}
public boolean hasUpgrade(UnitType type){
return upgrade(type) != null;
UnitType t = upgrade(type);
return t != null && t.unlockedNow();
}
public UnitType upgrade(UnitType type){