Skip to content

Commit

Permalink
Fix missing call to AdvTools::Config::init
Browse files Browse the repository at this point in the history
  • Loading branch information
cmann1 committed Jun 1, 2021
1 parent 15f4f91 commit ef7aa42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ed/adv_tools/settings/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ class Config
bool load()
{
if(!load_embed(Settings::ConfigEmbedKey, Settings::ConfigFile))
{
init();
return false;
}

values.deleteAll();
const string data = get_embed_value(Settings::ConfigEmbedKey);
Expand Down Expand Up @@ -122,7 +125,6 @@ class Config
if(key == '')
return;

//puts(key+'='+value);
values[key] = value;
}

Expand Down

0 comments on commit ef7aa42

Please sign in to comment.