diff options
Diffstat (limited to 'src/tq.rs')
| -rw-r--r-- | src/tq.rs | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -81,9 +81,10 @@ where Some((nr.task, nr.index)) } - Some(dur) => { + Some(_) => { // TODO: Fix this hack... - let new_instant = *now.duration_since_epoch().integer() + *dur.integer(); + // Extract the compare time + let new_instant = *instant.duration_since_epoch().integer(); M::set_compare(new_instant); // Start counting down from the new reload |
