summaryrefslogtreecommitdiff
path: root/src/ui/selectors.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/selectors.c')
-rw-r--r--src/ui/selectors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/selectors.c b/src/ui/selectors.c
index dc5a6bc..7d55b98 100644
--- a/src/ui/selectors.c
+++ b/src/ui/selectors.c
@@ -109,7 +109,7 @@ employee* employee_selector_render(platform_window* window, float scale, bool en
tb_y += fnt->px_h + (12*scale);
}
- float hours_for_this_job = (offer->offer.duration_sec_min * get_shiptime_factor(result)) / 3600.0f;
+ float hours_for_this_job = (offer->offer.duration_sec_min_excluding_boat * get_shiptime_factor(result)) / 3600.0f;
float total_hours = get_worked_hours_per_week_for_employee(_active_world, result, (_active_schedule_state == RESCHEDULING_JOB ? _active_selected_scheduled_job : 0));
// If being scheduled, also add timeslots that are currently being scheduled.