parent
7b2d096207
commit
1f49026198
3 changed files with 5 additions and 3 deletions
|
|
@ -1636,7 +1636,7 @@ template <typename U> bool BotGraph::loadStorage (const String &ext, const Strin
|
|||
file.read (&hdr, sizeof (StorageHeader));
|
||||
|
||||
// check the magic
|
||||
if (hdr.magic != kStorageMagic) {
|
||||
if (hdr.magic != kStorageMagic && hdr.magic != kStorageMagicUB) {
|
||||
if (tryReload ()) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue