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) {
522522 */
523523 public boolean isUpgrading (final UpgradeType upgrade ) {
524524 if (game .isLatComEnabled () && self ().isUpgrading [upgrade .id ].valid (game .getFrameCount ())) {
525- return self ().isResearching [upgrade .id ].get ();
525+ return self ().isUpgrading [upgrade .id ].get ();
526526 }
527527 return playerData .isUpgrading (upgrade .id );
528528 }
Original file line number Diff line number Diff line change @@ -970,7 +970,7 @@ public int getRemainingUpgradeTime() {
970970 * another unit.
971971 */
972972 public Unit getBuildUnit () {
973- if (game .isLatComEnabled () && self ().buildType .valid (game .getFrameCount ())) {
973+ if (game .isLatComEnabled () && self ().buildUnit .valid (game .getFrameCount ())) {
974974 return game .getUnit (self ().buildUnit .get ());
975975 }
976976 return game .getUnit (unitData .getBuildUnit ());
You can’t perform that action at this time.
0 commit comments