summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorsboronczyk <stefan.amin.boronczyk@googlemail.com>2021-03-13 02:50:55 +0100
committersboronczyk <stefan.amin.boronczyk@googlemail.com>2021-03-13 02:50:55 +0100
commit14658e3d10bfd44566936b821c2ae9cc1b9e55f7 (patch)
treee34231329d7578b9826972225f12c330f2572de2 /editor
parentbf309b8a139732387229228f86939516c7dc64d4 (diff)
Fix Create Plugin after GD Annotation Changes
Diffstat (limited to 'editor')
-rw-r--r--editor/plugin_config_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugin_config_dialog.cpp b/editor/plugin_config_dialog.cpp
index 2a0e7d0732..f496811e0a 100644
--- a/editor/plugin_config_dialog.cpp
+++ b/editor/plugin_config_dialog.cpp
@@ -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"