mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-26 02:07:26 +00:00
Attempt to fix some VFS problems
This commit is contained in:
parent
61a5f5c35c
commit
8e1be3a5d2
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,10 @@ bool VFSDir::merge(VFSDir *dir, bool overwrite, EntryFlags flag)
|
|||
if(dir == this)
|
||||
return true; // nothing to do then
|
||||
|
||||
// HACK: make sure the files are there before merging
|
||||
this->load(false);
|
||||
dir->load(false);
|
||||
|
||||
bool result = false;
|
||||
VFS_GUARD_OPT(this);
|
||||
|
||||
|
|
Loading…
Reference in a new issue