Skip to content

Commit

Permalink
Merge pull request #3248 from EasyRPG-NewFeatures/local-settings
Browse files Browse the repository at this point in the history
New Feature - Local Settings
  • Loading branch information
fdelapena authored Sep 2, 2024
2 parents a6521c4 + e1487de commit 6f1b937
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/game_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ Game_Config Game_Config::Create(CmdlineParser& cp) {
if (!config_path.empty()) {
config_file = FileFinder::MakePath(config_path, config_name);
}
else if (FileFinder::Root().Exists(config_name)) {
config_file = ToString(config_name);
}

auto cli_config = FileFinder::Root().OpenOrCreateInputStream(config_file);
if (!cli_config) {
Expand Down

0 comments on commit 6f1b937

Please sign in to comment.