[GDNative] export plugin

This commit is contained in:
Karroffel
2017-11-15 17:24:32 +01:00
parent bd2b1a62d9
commit f1099c7221
2 changed files with 129 additions and 6 deletions

View File

@ -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);
}
}