Skip to content

Commit

Permalink
Merge pull request #508 from pheonixstorm/Bug-SpaceStationShowsAsJump…
Browse files Browse the repository at this point in the history
…ship

Fix for HQ bug #2 Space Stations show in the hangar as unit type Jumpship
  • Loading branch information
neoancient committed Mar 13, 2017
2 parents 3ad846a + 8c3e5c9 commit b5e30d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions megamek/src/megamek/common/UnitType.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ public static int determineUnitTypeCode(Entity e) {
return PROTOMEK;
} else if (e instanceof Warship) {
return WARSHIP;
} else if (e instanceof SpaceStation) {
return SPACE_STATION;
} else if (e instanceof Jumpship) {
return JUMPSHIP;
} else if (e instanceof Dropship) {
Expand Down

0 comments on commit b5e30d9

Please sign in to comment.