You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Remove duplicate WARN_PRINT macro.
This commit is contained in:
@@ -3042,7 +3042,7 @@ void EditorNode::set_addon_plugin_enabled(const String &p_addon, bool p_enabled,
|
||||
}
|
||||
ps->set("editor_plugins/enabled", enabled_plugins);
|
||||
ps->save();
|
||||
WARN_PRINTS("Addon '" + p_addon + "' failed to load. No directory found. Removing from enabled plugins.");
|
||||
WARN_PRINT("Addon '" + p_addon + "' failed to load. No directory found. Removing from enabled plugins.");
|
||||
return;
|
||||
}
|
||||
Error err = cf->load(addon_path);
|
||||
@@ -3988,7 +3988,7 @@ void EditorNode::show_warning(const String &p_text, const String &p_title) {
|
||||
warning->set_title(p_title);
|
||||
warning->popup_centered_minsize();
|
||||
} else {
|
||||
WARN_PRINTS(p_title + " " + p_text);
|
||||
WARN_PRINT(p_title + " " + p_text);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user