Close devilutionx_mpq instead of trying to close patch_rt_mpq twice

This commit is contained in:
ephphatha 2021-08-08 23:15:02 +10:00 committed by Anders Jenbo
commit aec1491c98

View file

@ -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();