mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-04 06:54:39 +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)
|
if(dir == this)
|
||||||
return true; // nothing to do then
|
return true; // nothing to do then
|
||||||
|
|
||||||
|
// HACK: make sure the files are there before merging
|
||||||
|
this->load(false);
|
||||||
|
dir->load(false);
|
||||||
|
|
||||||
bool result = false;
|
bool result = false;
|
||||||
VFS_GUARD_OPT(this);
|
VFS_GUARD_OPT(this);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue