diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index af64760a2..d914bf3f2 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -2164,14 +2164,16 @@ tr_torrentRecheckCompleteness (tr_torrent * tor) if (tor->currentDir == tor->incompleteDir) tr_torrentSetLocation (tor, tor->downloadDir, true, NULL, NULL); + } + fireCompletenessChange (tor, completeness, wasRunning); + + if (tr_torrentIsSeed (tor)) + { if (tr_sessionIsTorrentDoneScriptEnabled (tor->session)) torrentCallScript (tor, tr_sessionGetTorrentDoneScript (tor->session)); } - - fireCompletenessChange (tor, completeness, wasRunning); - tr_torrentSetDirty (tor); }