We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd17e3a commit 88180adCopy full SHA for 88180ad
libopenage/gamestate/game.cpp
@@ -67,11 +67,12 @@ void Game::load_data(const std::shared_ptr<assets::ModManager> &mod_manager) {
67
recursive = true;
68
if (parts.size() == 1) {
69
// include = "**"
70
- search = include.substr(0, include.size() - 2);
+ // start in root directory
71
+ search = "";
72
}
73
else {
74
// include = "path/to/somewhere/**"
- // remove the slash '/' too
75
+ // remove the wildcard '**' and the slash '/'
76
search = include.substr(0, include.size() - 3);
77
78
0 commit comments