mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
[GDNative] export plugin
This commit is contained in:
@@ -982,7 +982,7 @@ void EditorExport::remove_export_preset(int p_idx) {
|
||||
|
||||
void EditorExport::add_export_plugin(const Ref<EditorExportPlugin> &p_plugin) {
|
||||
|
||||
if (export_plugins.find(p_plugin) == 1) {
|
||||
if (export_plugins.find(p_plugin) == -1) {
|
||||
export_plugins.push_back(p_plugin);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user