Skip to content

Commit

Permalink
Issue 4085: MegaMek fails to load Dropship sent from MekHQ
Browse files Browse the repository at this point in the history
  • Loading branch information
psikomonkie committed Nov 26, 2024
1 parent 6975c49 commit 8d8a54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MekHQ/src/mekhq/AtBGameThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public void run() {
}
// If this unit is a spacecraft, set the crew size and marine size values
if (entity.isLargeCraft() || (entity.getUnitType() == UnitType.SMALL_CRAFT)) {
entity.setNCrew(unit.getActiveCrew().size());
entity.setNCrew(unit.getActiveCrew().size() + entity.getBayPersonnel()); //We don't track bay personnel currently.
// TODO : Change this when marines are fully implemented
entity.setNMarines(unit.getMarineCount());
}
Expand Down

0 comments on commit 8d8a54a

Please sign in to comment.