aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_export.cpp
diff options
context:
space:
mode:
authorKarroffel2017-11-15 17:24:32 +0100
committerKarroffel2017-11-15 17:24:32 +0100
commitf1099c7221bace0e8d4811a6f6b39f33f80bd7ff (patch)
treedb44f637b790c70b8c61c189d73072ab50d95cb2 /editor/editor_export.cpp
parentbd2b1a62d9d6f97ebfa7457ab3e84ae839531bdb (diff)
downloadgodot-f1099c7221bace0e8d4811a6f6b39f33f80bd7ff.tar.gz
godot-f1099c7221bace0e8d4811a6f6b39f33f80bd7ff.tar.zst
godot-f1099c7221bace0e8d4811a6f6b39f33f80bd7ff.zip
[GDNative] export plugin
Diffstat (limited to 'editor/editor_export.cpp')
-rw-r--r--editor/editor_export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp
index efe32b99a..a458a10cd 100644
--- a/editor/editor_export.cpp
+++ b/editor/editor_export.cpp
@@ -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);
}
}