Anton Lundin 15b6953438 Use the current dive mode instead of constant
In the if case above, we already conclude its a OC dive, but its cleaner
to actually pass the current mode instead of a hard coded value.

This also makes the code less prune to future bugs.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
2018-03-13 18:54:16 +02:00
..
2018-01-08 06:06:12 +02:00
2018-01-10 21:25:02 +01:00
2018-01-10 21:25:02 +01:00
2017-12-27 17:14:43 -08:00
2017-11-25 20:13:01 +01:00
2017-04-29 13:32:55 -07:00
2018-01-06 09:21:16 +01:00
2018-01-31 14:47:26 +01:00
2017-04-29 13:32:55 -07:00
2018-01-08 09:52:55 +02:00
2017-05-26 15:52:04 -07:00
2017-05-26 15:44:36 -07:00
2017-11-25 20:13:01 +01:00
2017-07-19 06:21:23 -07:00
2017-11-19 12:20:43 -08:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2017-10-04 08:05:09 -07:00
2017-04-29 13:32:55 -07:00
2018-01-31 14:47:47 +01:00
2018-01-10 16:45:42 +01:00
2017-04-29 13:32:55 -07:00