mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
CPackedStore: Fix file handle bug
VPK directory file handle was never closed properly in 'VPKDir_t::Init()';
This commit is contained in:
parent
1f1a487af9
commit
6da5206282
@ -830,6 +830,8 @@ void VPKDir_t::Init(const string& svDirectoryPath)
|
||||
string svPackPath = GetPackFile(svDirectoryPath, i);
|
||||
m_vPackFile.push_back(svPackPath);
|
||||
}
|
||||
|
||||
FileSystem()->Close(hDirectory);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user