aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/schedule.c
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.c')
-rw-r--r--schedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/schedule.c b/schedule.c
index c3982d2..dec14da 100644
--- a/schedule.c
+++ b/schedule.c
@@ -144,7 +144,7 @@ decoinfo_t calc_deco(decostate_t *ds, const double start_depth, const gas_t *sta
/* switch gas */
gas = next;
- add_segment_const(ds, switch_depth, 1, gas);
+ ret.tts += add_segment_const(ds, switch_depth, 1, gas);
seg_cb(ds, (waypoint_t){.depth = depth, .time = 1, .gas = gas}, SEG_GAS_SWITCH);
continue;