Partially fix hotloading (see #848)

This was SVN commit r10977.
This commit is contained in:
Ykkrosh 2012-01-29 01:19:54 +00:00
parent d9840c83c3
commit 8ca59d418d

View File

@ -79,7 +79,7 @@ Status ReloadChangedFiles()
VfsPath pathname;
RETURN_STATUS_IF_ERR(g_VFS->GetVirtualPath(notifications[i].Pathname(), pathname));
RETURN_STATUS_IF_ERR(g_VFS->RemoveFile(pathname));
RETURN_STATUS_IF_ERR(g_VFS->RepopulateDirectory(pathname.Parent()));
RETURN_STATUS_IF_ERR(g_VFS->RepopulateDirectory(pathname.Parent()/""));
// Tell each hotloadable system about this file change: