mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-12-06 03:07:19 +00:00
Add Enable GodMode setting.
BE CAREFUL WITH THIS!!!
This commit is contained in:
1 parent
2142c1eb9c
commit
1c2c3dc675
6 files changed
+19
-8
No files matched your search
@@ -47,6 +47,7 @@ bool Config::Logging;
|
||||
bool Config::UseBars;
|
||||
std::string Config::StorePath;
|
||||
int Config::LangPath;
|
||||
bool Config::GodMode = false;
|
||||
nlohmann::json configJson;
|
||||
|
||||
void Config::load() {
|
||||
@@ -203,7 +204,6 @@ void Config::initializeNewConfig() {
|
||||
Config::setBool("LOGGING", false);
|
||||
Config::setBool("BARS", true);
|
||||
Config::setString("STOREPATH", STORE_PATH);
|
||||
|
||||
if(file) fwrite(configJson.dump(1, '\t').c_str(), 1, configJson.dump(1, '\t').size(), file);
|
||||
fclose(file);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user