fix piecepriotiry structure

This commit is contained in:
Alexey Kostin 2020-04-24 01:56:57 +03:00
parent 4e54ce54a7
commit 45d06fac8b

View File

@ -158,7 +158,7 @@ func (newstructure *NewTorrentStructure) FillMissing() {
newstructure.Pieces = newstructure.FillNotHaveFiles("1") newstructure.Pieces = newstructure.FillNotHaveFiles("1")
} }
} }
newstructure.PiecePriority = newstructure.FillNotHaveFiles("1") newstructure.PiecePriority = newstructure.Pieces
} }
func (newstructure *NewTorrentStructure) FillSizes() { func (newstructure *NewTorrentStructure) FillSizes() {