mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-20 03:37:47 +00:00
Don't call unwrap() in writing CharDat files
This commit is contained in:
parent
aa62b70498
commit
e5bbde95fd
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ impl CharacterData {
|
|||
let cursor = Cursor::new(&mut buffer);
|
||||
let mut writer = BufWriter::new(cursor);
|
||||
|
||||
self.write_le(&mut writer).unwrap();
|
||||
self.write_le(&mut writer).ok()?;
|
||||
}
|
||||
|
||||
Some(buffer)
|
||||
|
|
Loading…
Add table
Reference in a new issue