Remove duplicate ERR_PRINTS macro
This commit is contained in:
@ -833,13 +833,13 @@ void EditorSettings::create() {
|
||||
self_contained = true;
|
||||
Error err = extra_config->load(exe_path + "/._sc_");
|
||||
if (err != OK) {
|
||||
ERR_PRINTS("Can't load config from path '" + exe_path + "/._sc_'.");
|
||||
ERR_PRINT("Can't load config from path '" + exe_path + "/._sc_'.");
|
||||
}
|
||||
} else if (d->file_exists(exe_path + "/_sc_")) {
|
||||
self_contained = true;
|
||||
Error err = extra_config->load(exe_path + "/_sc_");
|
||||
if (err != OK) {
|
||||
ERR_PRINTS("Can't load config from path '" + exe_path + "/_sc_'.");
|
||||
ERR_PRINT("Can't load config from path '" + exe_path + "/_sc_'.");
|
||||
}
|
||||
}
|
||||
memdelete(d);
|
||||
@ -1093,7 +1093,7 @@ void EditorSettings::save() {
|
||||
Error err = ResourceSaver::save(singleton->config_file_path, singleton);
|
||||
|
||||
if (err != OK) {
|
||||
ERR_PRINTS("Error saving editor settings to " + singleton->config_file_path);
|
||||
ERR_PRINT("Error saving editor settings to " + singleton->config_file_path);
|
||||
} else {
|
||||
print_verbose("EditorSettings: Save OK!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user