mirror of
https://github.com/redstrate/Physis.git
synced 2025-07-01 16:47:46 +00:00
Remove a panic when reading certain LGB files
This commit is contained in:
parent
a9a1b02fd4
commit
7bf8f5016c
1 changed files with 1 additions and 1 deletions
|
@ -707,7 +707,7 @@ impl LayerGroup {
|
|||
let string_heap = StringHeap::from(start);
|
||||
|
||||
objects
|
||||
.push(InstanceObject::read_le_args(&mut cursor, (&string_heap,)).unwrap());
|
||||
.push(InstanceObject::read_le_args(&mut cursor, (&string_heap,)).ok()?);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue