Skip to content

Commit f7d9963

Browse files
committed
Merge remote-tracking branch 'origin' into newlatcom
2 parents 8b84fed + c200b55 commit f7d9963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/bwapi/Unit.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5148,7 +5148,7 @@ public boolean canLoad(Unit targetUnit, boolean checkCanTargetUnit, boolean chec
51485148
final UnitType unitThatLoadsType = unitThatLoads.getType();
51495149

51505150
if (unitThatLoadsType == Terran_Bunker) {
5151-
if (!unitThatLoadsType.isOrganic() || unitThatLoadsType.getRace() != Terran) {
5151+
if (!unitToBeLoadedType.isOrganic() || unitToBeLoadedType.getRace() != Terran) {
51525152
return false;
51535153
}
51545154
if (!unitToBeLoaded.hasPath(unitThatLoads.getPosition())) {

0 commit comments

Comments
 (0)