mirror of https://github.com/FreeCol/freecol.git
Removes the destination check for the base transport priority since the method is only called during construction of the mission.
This commit is contained in:
parent
ccb75288d3
commit
470106d806
|
@ -272,8 +272,7 @@ public final class DefendSettlementMission extends Mission {
|
|||
*/
|
||||
@Override
|
||||
public int getBaseTransportPriority() {
|
||||
return (getTransportDestination() == null) ? 0
|
||||
: NORMAL_TRANSPORT_PRIORITY + 5;
|
||||
return NORMAL_TRANSPORT_PRIORITY + 5;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue