Skip to content

Commit

Permalink
inspecting issue #23
Browse files Browse the repository at this point in the history
  • Loading branch information
ichatz committed Dec 5, 2015
1 parent be418ed commit 908a53a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/java/com/eaw1805/orders/fleet/BuildShip.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ public void process() {

getOrder().setResult(1);
getOrder().setExplanation("new ship [" + shipName + "] of type " + shipTPE.getName() + " built at " + thisSector.getPosition().toString());

} else {
// delay build of ship
newsSingle(getOrder().getNation(), NEWS_MILITARY,
Expand Down
1 change: 0 additions & 1 deletion src/main/java/com/eaw1805/orders/fleet/RepairFleet.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public void process() {
thisFleet = FleetManager.getInstance().getByID(fleetId);
}


if (thisFleet != null) {
boolean isAllied = false;
if (thisFleet.getNation().getId() != getOrder().getNation().getId()) {
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/eaw1805/orders/fleet/RepairShip.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ public void process() {
getOrder().setResult(-7);
getOrder().setExplanation("not owner of sector");
}

} else {
getOrder().setResult(-8);
getOrder().setExplanation("cannot locate ship");
Expand Down

0 comments on commit 908a53a

Please sign in to comment.