File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -522,7 +522,7 @@ public boolean isResearching(final TechType tech) {
522
522
*/
523
523
public boolean isUpgrading (final UpgradeType upgrade ) {
524
524
if (game .isLatComEnabled () && self ().isUpgrading [upgrade .id ].valid (game .getFrameCount ())) {
525
- return self ().isResearching [upgrade .id ].get ();
525
+ return self ().isUpgrading [upgrade .id ].get ();
526
526
}
527
527
return playerData .isUpgrading (upgrade .id );
528
528
}
Original file line number Diff line number Diff line change @@ -970,7 +970,7 @@ public int getRemainingUpgradeTime() {
970
970
* another unit.
971
971
*/
972
972
public Unit getBuildUnit () {
973
- if (game .isLatComEnabled () && self ().buildType .valid (game .getFrameCount ())) {
973
+ if (game .isLatComEnabled () && self ().buildUnit .valid (game .getFrameCount ())) {
974
974
return game .getUnit (self ().buildUnit .get ());
975
975
}
976
976
return game .getUnit (unitData .getBuildUnit ());
You can’t perform that action at this time.
0 commit comments