From 01e2e56f9777eb85f474b96a8139c78136047b59 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Sun, 24 Dec 2023 17:55:49 +0000 Subject: [PATCH] Add game-independent VFS directory to CS' VFS This should have been like this all along - all the other applications that use the game's VFS do this. --- apps/opencs/editor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/opencs/editor.cpp b/apps/opencs/editor.cpp index c21fc12a05..05f90b96f3 100644 --- a/apps/opencs/editor.cpp +++ b/apps/opencs/editor.cpp @@ -200,6 +200,8 @@ std::pair> CS::Editor::readConfig dataDirs.insert(dataDirs.end(), dataLocal.begin(), dataLocal.end()); + dataDirs.insert(dataDirs.begin(), mResources / "vfs"); + // iterate the data directories and add them to the file dialog for loading mFileDialog.addFiles(dataDirs);