Close devilutionx_mpq instead of trying to close patch_rt_mpq twice
This commit is contained in:
parent
cf5ab583d5
commit
aec1491c98
1 changed files with 2 additions and 2 deletions
|
|
@ -128,8 +128,8 @@ void init_cleanup()
|
|||
hfopt2_mpq = nullptr;
|
||||
}
|
||||
if (devilutionx_mpq != nullptr) {
|
||||
SFileCloseArchive(patch_rt_mpq);
|
||||
patch_rt_mpq = nullptr;
|
||||
SFileCloseArchive(devilutionx_mpq);
|
||||
devilutionx_mpq = nullptr;
|
||||
}
|
||||
|
||||
NetClose();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue