1
0
Fork 0
mirror of https://codeberg.org/icewind/vbsp.git synced 2026-06-03 18:54:05 +02:00

use Leaves constructor in Leaves BinRead

The leaves are supposed to be sorted and that was skipped.
This commit is contained in:
Quaternions 2025-02-26 09:38:36 -08:00
commit c1ea1363bd

View file

@ -87,7 +87,7 @@ impl BinRead for Leaves {
)?);
}
Ok(Self { leaves: entries })
Ok(Self::new(entries))
}
}