fixed finished_time bug
This commit is contained in:
parent
fb47469834
commit
d019833043
|
@ -5492,6 +5492,7 @@ namespace libtorrent
|
||||||
|
|
||||||
time_duration since_last_tick = milliseconds(tick_interval_ms);
|
time_duration since_last_tick = milliseconds(tick_interval_ms);
|
||||||
if (is_seed()) m_seeding_time += since_last_tick;
|
if (is_seed()) m_seeding_time += since_last_tick;
|
||||||
|
if (is_finished()) m_finished_time += since_last_tick;
|
||||||
m_active_time += since_last_tick;
|
m_active_time += since_last_tick;
|
||||||
|
|
||||||
// ---- TIME CRITICAL PIECES ----
|
// ---- TIME CRITICAL PIECES ----
|
||||||
|
|
Loading…
Reference in New Issue