Skip to content

Commit

Permalink
Add game-independent VFS directory to CS' VFS
Browse files Browse the repository at this point in the history
This should have been like this all along - all the other applications that use the game's VFS do this.
  • Loading branch information
AnyOldName3 committed Dec 24, 2023
1 parent 51b0564 commit 01e2e56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/opencs/editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ std::pair<Files::PathContainer, std::vector<std::string>> 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);

Expand Down

0 comments on commit 01e2e56

Please sign in to comment.