Refactor async logging to synchronous; improve error handling consistency across modules.
This commit is contained in:
@@ -136,9 +136,7 @@ impl SavegameManager {
|
||||
let slot = self.storage.scan()?;
|
||||
match slot {
|
||||
None => Ok(None),
|
||||
Some(slot) => {
|
||||
self.load_slot(slot.idx)
|
||||
}
|
||||
Some(slot) => self.load_slot(slot.idx),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user