Skip to content

Commit

Permalink
TechTabelModel - Show Daily Available Time for Techs
Browse files Browse the repository at this point in the history
  • Loading branch information
WeaverThree committed Oct 22, 2024
1 parent 035ff6c commit 27525bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MekHQ/src/mekhq/gui/model/TechTableModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ public String getTechDesc(Person tech, boolean overtimeAllowed, IPartWork part)
}
toReturn.append("<br/>");

toReturn.append(String.format("%d minutes left", tech.getMinutesLeft()));
toReturn.append(String.format("%d/%d minutes left", tech.getMinutesLeft(),
tech.getDailyAvailableTechTime()));

if (overtimeAllowed) {
toReturn.append(String.format(" + (%d overtime)", tech.getOvertimeLeft()));
}
Expand Down

0 comments on commit 27525bf

Please sign in to comment.