Forráskód Böngészése

Fix Create Plugin after GD Annotation Changes

sboronczyk 4 éve
szülő
commit
14658e3d10
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      editor/plugin_config_dialog.cpp

+ 1 - 1
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"