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:
Stian Grenborgen 2023-05-05 19:09:16 +02:00
parent ccb75288d3
commit 470106d806
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}
/**