Merge pull request #46957 from sboronczyk/fix-editor-plugin

Fix Create Plugin after GD Annotation Changes
This commit is contained in:
Rémi Verschelde 2021-03-13 14:02:26 +01:00 committed by GitHub
commit 0d37c29173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ void PluginConfigDialog::_on_confirmed() {
// Hard-coded GDScript template to keep usability until we use script templates.
Ref<Script> gdscript = memnew(GDScript);
gdscript->set_source_code(
"tool\n"
"@tool\n"
"extends EditorPlugin\n"
"\n"
"\n"